ey up
so im finding the interaction between an anim tree and script is at best scetchy, at worst doesnt work at all.
i need to find where the problem lies.
reading this page http://udn.epicgames.com/Two/AnimNot...mNotify_Script
it says
does this mean 2 notifies in the same tree/class, or does it mean 2 notifies altogether from every tree/script in the game?
again, does this mean the same tree/script, or every tree/script combined?
i am finding that it is completely random wheather a script notify is called or not.
on top of that, 'cause actor anim end' (OnAnimEnd) and 'cause actor anim play' (OnAnimPlay) seems to only fire randomly.
a bit of background,
im using this for an ai bot with root motion, so these functions need to work properly as the bots 'next move' is decided when an animation ends.
there are many bots on a map.
yes the nodes in the animtree have 'cause actor anim end' ect and play ticked.
yes the script notify name and the function name are the same.
is there any reason that anybody knows of that would cause this script/animtree interaction to be unreliable?
this has been a total hasle for a good few weeks now and im getting sick of it.
thanks to anyone whe even suggests a way to fix it, or tells me why it might be happening.
cheers
so im finding the interaction between an anim tree and script is at best scetchy, at worst doesnt work at all.
i need to find where the problem lies.
reading this page http://udn.epicgames.com/Two/AnimNot...mNotify_Script
it says
The major limitation with animation notifies is that you can not add two notifies at the same time.....
One more thing to watch out for is that the engine can only execute four animation notifies in a single tick...
i am finding that it is completely random wheather a script notify is called or not.
on top of that, 'cause actor anim end' (OnAnimEnd) and 'cause actor anim play' (OnAnimPlay) seems to only fire randomly.
a bit of background,
im using this for an ai bot with root motion, so these functions need to work properly as the bots 'next move' is decided when an animation ends.
there are many bots on a map.
yes the nodes in the animtree have 'cause actor anim end' ect and play ticked.
yes the script notify name and the function name are the same.
is there any reason that anybody knows of that would cause this script/animtree interaction to be unreliable?
this has been a total hasle for a good few weeks now and im getting sick of it.
thanks to anyone whe even suggests a way to fix it, or tells me why it might be happening.
cheers
Comment