- Jun 25, 2021
- Reaction score
- First Language
- Primarily Uses
I don't know what code you're using for your gauge, so I'll just pretend that the $gameVariables.value(4) >= 4 part accurately represents your gauge check. In that case, your note tag could look like this:I have a question regarding regarding MZ and Visustella's Skills and States Core: I am following VisuStella MZ Action Sequence: Creating a Custom Skill Cost System With Variables and Pictures tutorial on the official blog and while I can allow the skill in question be usable only when the gauge is full (100 points) I am strugging at putting other limitations, mainly that two characters are in the battle party as I plan to use the gauge to create team attacks. The JS code provided in the tutorial is:
<JS Skill Enable> enabled = $gameVariables.value(4) >= 4; </JS Skill Enable>
<JS Skill Enable> enabled = $gameVariables.value(4) >= 4 && $gameActors.actor(x).isBattleMember() && $gameActors.actor(y).isBattleMember(); </JS Skill Enable>
You would replace x and y with the IDs of the two actors that you're talking about.
Please clarify. Are you talking about the actions of a specific battler? Or the actions of all battlers? Or the actions of a specific range of battlers?How do I see the list of actions inside queue during a battle in console?