Now what happens with my current code is that he takes one decision and then never take another one.
The problem doesn't appear to be my switch (see down there). Well, at least the syntaxe seems ok and if the NPC is taking a decision to begin with, it means it works fine.
I even added debug message in order to know when the NPC is actually taking a decision.
Next guess was that it was my alarm that is supposed to reset the right of takig a decision. Here's it's just a bool and I didn't make any typo or syntaxe error.
So right now I am pretty flabergasted. Why does my NPC takes only one decision and then never again??
Here's the step event of the NPC:
And in the Alarm I got:
what gives? :/
Edited by RangerX, 12 March 2012 - 01:31 AM.