Page 1 of 1

Zero anim doesn´t start in Game

Posted: Fri Oct 20, 2006 7:16 am
by Rends
Ok i followed Jawa_Killer tut here and i got the anim working in Zeroeditor but not in Game.
I´m pretty sure i need to add the PlayAnimation(“Animation Group Name”)
entry to the lua?
But where do i add it?
I tried it but then munge reports an LUA error.

Rends

Posted: Fri Oct 20, 2006 10:12 pm
by raz1992
Well, I was creating a modified version of the Kashyyyk map, and while searching through the LUA from the assets I found these lines:

Code: Select all

function PlayAnimUp()
    PauseAnimation("thegatedown");
    RewindAnimation("thegateup");
    PlayAnimation("thegateup");
I'm not sure if these will help in any way, just a small guess.

Posted: Fri Oct 20, 2006 10:42 pm
by Ace_Azzameen_5
maybe it's just a syntax error? Do you have a lua editing program such as "lua Edit" that can check for mistakes?

Also, if all you want the animation to do is to play at the begining of the level, couldn't you just click "play when level starts" in ZE?

Posted: Sat Oct 21, 2006 8:22 am
by Rends
Ace, yes i forget to press the "play when starts" button. Now it´s working :)

Rends