I need help with some animation transition. Basically i need to play run animation where the enemy will run into cover, and after he get into cover, he will stop running and play other animation.
Any idea how to do this? I basically do the animation transition with boolean parameters, (If isRunning true, the enemy will run, if isRunning false, play animation idle). But the problem is, if i do it like this:
set isRunning to true, then
move into cover, then
set isRunning to false
the enemy wil not play the running animation at all, he just play the idle animation and move to cover without running.
I can do it with delaying but i’m afraid each enemy will have different length of time for running into the cover.
Thanks