Files
RCBASIC4/doc/doc_files/setactoranimation.html
2024-10-27 11:52:28 -04:00

31 lines
745 B
HTML

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style.css">
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
<title>SetActorAnimation [RCBasic Doc] </title>
</head>
<body>
<p><h2>sub SetActorAnimation( actor, animation, num_loops) </h2></p>
<p>
Sets the current animation for an actor to start playing
</p>
<p>
Notes on num_loops
</p>
<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>
<li>
To loop an animation infinitely, set num_loops to -1
</li>
</ol>
<br><p>Related:
<a href="createactoranimation.html">CreateActorAnimation</a>
</p>
<p>
</body>
</html>