Page 1 of 1

[solved] Need help with animation

PostPosted: September 18th, 2009, 3:14 am
by krt16
As the title says I need help with the animation part of Xion.
I wonder how I can make it so the animation stops when pressing pause, starts when pressing Play and Resets when pressing Stop.
I have read the Layer reference page, but I cant seem to get it right...

What I have tried is to name the layers like this:
animation animtype(0) direction(1) delay(15) [<- This is a group with the animation inside]
animation animtype(0) direction(1) delay(10) [<- So is this]
play_over modify(animation) action_anim_play
play_normal modify(animation) action_anim_play
play_stop modify(animation) action_anim_play
pause_over modify(animation) action_anim_stop
...
stop_over modify(animation) action_anim_reset

I want the pause, Play and Stop buttons to do the same on both animations...

The animation itself is working, but its the part to stop it an reset it I cant get to work

-krt16-

PostPosted: September 18th, 2009, 3:43 am
by krt16
Okay... now Im feeling kinda stupid as I figured it out and that the only thing I was missing was that darn id(x) in the animation group=_="

Then I guess this thread was kinda unnecessary... Sorry for that:P

-krt16-

PostPosted: September 18th, 2009, 4:00 am
by Lance
Haha, no probs man. The simplist things are the easiest to miss.

Peace, Lance

PostPosted: September 18th, 2009, 6:23 pm
by SLoB
The thread isn't pointless,you posted your solution which was not immediately visible to you, some others may benefit from it further downline, so the thread stays ;)