Gabriot Member 125 Jul 26, 2008 #1 I noticed for conditional branches you can have a condition be a script... Is it possible to make a script to use in here that checks to see if an actor is defending while in battle? (Or has chosend to defend?). Thank you in advance.
I noticed for conditional branches you can have a condition be a script... Is it possible to make a script to use in here that checks to see if an actor is defending while in battle? (Or has chosend to defend?). Thank you in advance.
SephirothSpawn Sponsor 1,433 Jul 27, 2008 #2 Code: (a = $game_actors[actor_id]).action.kind == 0 && a.basic == 1 #or (a = $game_party.actors[actor_index]).action.kind == 0 && a.basic == 1 The first one lets you choose actor by actor id. The second, the position in battle. Upvote 0 Downvote
Code: (a = $game_actors[actor_id]).action.kind == 0 && a.basic == 1 #or (a = $game_party.actors[actor_index]).action.kind == 0 && a.basic == 1 The first one lets you choose actor by actor id. The second, the position in battle.