So, I have some states that should last exactly one turn and then disappear at the start of the next. But, at least with Yanfly CTB, "Action End" makes them still be there for the second action before disappearing, and "Turn End" -Well, I haven't yet discerned the pattern, but- the state ends sometime before the user even gets their next turn (I'm focusing on a self-use state at the moment. It should last all the way up till the User's next turn, but go away at the start of the turn, before action is taken)
MV [SOLVED]How turn orders for states work with Yanfly CTB?
Javascript/Plugin SupportAction End removes the state at the end of the action following the duration you specify. Have you tried duration 0-0 with Action End?
Per the documentation in the Battle Engine Core, the default turn is equal to 100 ticks. How often your battlers act within 100 ticks depends on their agility.
You can also set the plugin parameter Timed States to true, which should then cause whatever you typed into your duration as turns to be treated as ticks (so 100 to get to the same place in the next turn...which, again, doesn't guarantee your battler to have received another/only one action, depending on their agility).
And this is another beast altogether, which is not supported by MV by default. However, reading through the documentation for the Battle Engine Core, we find the
<Action Start: x> notetag. So I would try that using 0 or 1 for x, depending on how it's decremented.Thanks! That didn't quite work, but for some reason
<Turn Start: x> did!This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
Original thread: https://forums.rpgmakerweb.com/threads/solved-how-turn-orders-for-states-work-with-yanfly-ctb.139826/