*if command help

What I generally do, if some of my code isn’t working, is I take snippets of code and plug it into the online tester.

Link: https://dl.dropboxusercontent.com/u/7840892/CJW/choicescript/tools/IDE/main.html
Forum Thread [Tool] ChoiceScript Development Environment

Then I plug in values at the top to check and see if it’s working. So in your case I’d copy and paste in that section of code, then stick a

*create guards_unconscious false
*create guards_dead 0
*set guards_dead +3

at the top.

Then I’ll fiddle around until it works. If it does already work then I’ll assume the error’s in another bit of code and go hunting.

Is there a possibility your dead guard variable is being missed? Or that you’re ending up with 1 dead guard, or 4+ dead guards, since either way it’ll cause you to skip that section. Also, if your agility is above or below 1 then you’re not hitting that dead_guards increase either.

1 Like