Wintermute Engine Forum
Wintermute Engine => Bug reports => Fixed => Topic started by: Derrek3D on December 09, 2007, 03:51:53 PM
-
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?
-
It's a bug introduced in the last version. The event is incorrectly triggered again when transitioning to another animation. I fixed it, thanks for reporting.
-
Ok, great! Thanks for fixing it.