Japhasca 3 Posted January 22, 2015 I am trying to check in a battle event if an enemy has a certain state present. I thought that it would be:@Conditional Branch: Script: $game_troop.members[troop_id].state(state_id)but it errors when it gets to ".state".Can someone tell me the right way to do this? Share this post Link to post Share on other sites
shadowblack 103 Posted January 22, 2015 Wait, are you trying to check if ANY enemy has the state, or are you trying to check if a particular enemy (for example the fifth member of the troop) has the state? Share this post Link to post Share on other sites
Japhasca 3 Posted January 22, 2015 A specific enemy. In my test, the first, so I use 0 for troop_id. Share this post Link to post Share on other sites
shadowblack 103 Posted January 23, 2015 Next question: Why are you using a script call? Conditional Branch -> Page 3 -> Enemy [1.] has State [1.] inflicted The first enemy is selected by default so just select the correct state Share this post Link to post Share on other sites
Japhasca 3 Posted January 23, 2015 Oh dear lord. Thank you, I didn't think it would even be in there because the troop eventing is so shallow. Share this post Link to post Share on other sites