1
Community Competitions / Re: March Community Competition (2007)
« on: May 24, 2007, 06:30:15 PM »
When is the next competition Eigen???
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
(instance RoomScript of Script
(properties)
(method (changeState whatevertheanimationnameis)
= state whatevertheanimationnameis
(switch(state)
(case 0) // since there's no case 1 identified, it won't go to case 2 unless told
(case 2 = seconds 3 //or however long you want the animation to be
(send gEgo:view(6)loop(0)cel(0)setCycle(End)) // change ego to animation view I chose view 6
(ProgramControl) // player will not be able to move or type during animation
) // end case 1
(case 3
(send gEgo:view(0)loop(0)cel(0)setCycle(Walk)) // change ego back to walking view Ego is view 0
(PlayerControl) // give player back ability to move and type
) // end case 2
) // end switch(state)
) // end method
(method (handleEvent pEvent)
(super:handleEvent(pEvent))
(if(Said('wave'))//my animation was to make Ego wave when you typed wave
(RoomScript:changeState(2))
)
)
)
SMF 2.0.19 |
SMF © 2021, Simple Machines
Simple Audio Video Embedder
Page created in 0.027 seconds with 20 queries.