So I'm trying to have a scripted boss battle where on a certain turn they use a hard hitting skill thats supposed to go last. I've made sure the attack speed modifier is in the negatives. Normally when I let the mob attack without using events, the skill works as intended (it always goes last). But when I use it in "Force Action", it ALWAYS goes first. How do I get around this?
Force Action Attack Speed
RPG Maker VXAce Support"Force Action" immediately executes an action whenever you call it. The option to execute a skill in the normal action sequence has been removed in VX/VXAce.
One way to solve it would be to make your battle event run at the end of a turn by enabling the checkbox in the page conditions.
Alternatively you can also get around it by using a two-line-script-command:
battler.force_action(Skill-ID, Target-Index)
BattleManager.make_action_orders
...with battler being one of these options:
$game_actors[Actor-ID] -> Actor with the specified database ID
$game_party.members[Index] -> Actor at the specified party position (starting at index 0)
$game_troop.members[Index] -> Enemy at the specified troop position (starting at index 0)
To specify a random target, replace the Target-Index by -1; to specify the last target, replace it by -2.
The first line will now set up a forced action for the battler, but will not instruct the BattleManager to execute the action right away. The second line is only required to update the action order.
One way to solve it would be to make your battle event run at the end of a turn by enabling the checkbox in the page conditions.
Alternatively you can also get around it by using a two-line-script-command:
battler.force_action(Skill-ID, Target-Index)
BattleManager.make_action_orders
...with battler being one of these options:
$game_actors[Actor-ID] -> Actor with the specified database ID
$game_party.members[Index] -> Actor at the specified party position (starting at index 0)
$game_troop.members[Index] -> Enemy at the specified troop position (starting at index 0)
To specify a random target, replace the Target-Index by -1; to specify the last target, replace it by -2.
The first line will now set up a forced action for the battler, but will not instruct the BattleManager to execute the action right away. The second line is only required to update the action order.
Original thread: https://forums.rpgmakerweb.com/threads/force-action-attack-speed.50891/