Get your own free workspace
View
 

AnimateActor

Page history last edited by Gamemaster 3 years, 11 months ago

 

AnimateActor

Usage:

                AnimateActor(Actor, Animation, Speed, [FixedSpeed])

Description:

The AnimateActor command makes an actor perform an animation once. If the animation is not available for the actor you choose, nothing will happen. The animation will be seen be all players who can see the actor.

The Animation parameter is the name of the animation to play. The Speed is any floating point value, where 0.5 is half speed, 1.0 is normal speed, and 2.0 is double speed. The FixedSpeed parameter should be set to 1 to play the animation at a fixed speed, regardless of its length in frames.

Example:

                Function Main()
                        AnimateActor(Actor(), "Dig", 0.7)
                        Return()
                End Function

Comments (0)

You don't have permission to comment on this page.