Considering that we have a condition "Distance To Target less than N",
if distance to target return Success, AI start to Attack player.
After attack, "Distance To Target less than N" return Success immediately again, then attack player immediately again.
I notice we have a decorator node named "Cooldown", but this node will delay the result everytime, including the first time.
How could I get this kind of behavior?
if distance to target return Success, AI start to Attack player.
After attack, "Distance To Target less than N" return Success immediately again, then attack player immediately again.
I notice we have a decorator node named "Cooldown", but this node will delay the result everytime, including the first time.
How could I get this kind of behavior?