I have a problem with my 3D actor's animation events. My event handlers are being called twice: once at the correct frame and the other after the animation ends. Is this a known issue/bug or am I doing something wrong?
My animation is defined like this in my actor's act3d file:
ANIMATION
{
NAME="DoSomething"
EVENT
{
FRAME = 50
NAME = "DoSomething"
}
}
And in the actor's script I have a:
on "DoSomething"
{
Game.Msg("DoSomething");
}
The game outputs the "DoSomething" to the screen at the correct frame during the animation and then it outputs it again after the animation ends. Any ideas?