looks like you would want to use Custom Passive Conditions. Maybe set it to look for a switch you can turn on/off? Or the level of the character? if i knew more of the conditions you need fulfilled for the states i could assist further but the general idea is shown in the yanfly help. you would just need to edit the if statements to fit the conditions you require in your game.
<Custom Passive Condition>
if (user.hp / user.mhp <= 0.25) {
condition = true;
} else {
condition = false;
}
</Custom Passive Condition>
if your needs can be filled simply with using a switch there is this option as well, when you want 1, 2, 3 ,4 to be active you can put this in your 4th state notetag (replace x with your switchid number)
<Passive Condition: Switch x OFF>
and in your 5th states notetag place
<Passive Condition: Switch x ON>
this would make is when this switch is off (by default) you have passive states 1, 2, 3, 4 but when the switch you set turns on then you will have passive states 1, 2, 3, 5.
Thanks. The switch does the trick. But it did not change in the menu after turns on the switch, so I have to go to a new scene in order to change the states.
Are you there commands or script that process this scene after turns on the switch?
hmm maybe try a $gamePlayer.refresh() script call after you turn on the switch? I've never actually used this plugin but I can see in the help that $gamePlayer.refresh(); was updated as to refresh all members, maybe just try doing that script call after you flip the switch on or off? :mrsatan: