Files
RCBASIC4/doc/files/setactoranimation.txt
2026-02-26 15:33:51 -06:00

14 lines
416 B
Plaintext

#title SetActorAnimation [RCBasic Doc]
#header Sub SetActorAnimation( actor, animation, num_loops)
Sets the current animation for an actor to start playing
Notes on num_loops
#list ol
#li <b>num_loops</b> is the number of times to loop the animation after its done playing. To play the animation once, set num_loops to 0.
#li To loop an animation infinitely, set num_loops to -1
#/list
#ref CreateActorAnimation