http://puu.sh/wc1Yq/b80df8b549.png
This is the most basic I can make it and still show the behaviour. Is Stunned Decorator checks if the stun timer of the AI has gone down to zero. It still executes even if the timer is not zero. It works if I do this:
http://puu.sh/wc2uk/4b798cdd4d.png
Why does the decorator not work when attached to the whole selector? I dont want him to chase the player if he is stunned. Instead this selector should fail so I can play the stunned animation instead.
Thank you for your help.