User Tools

Site Tools


play_animation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
play_animation [2017/04/24 16:40] justinplay_animation [2017/04/25 12:01] justin
Line 20: Line 20:
 play_animation(entity["chest01"], "open") play_animation(entity["chest01"], "open")
 </code> </code>
-//Results:// Plays the animation named "open" for the entity with an ID of "chest01".+//Results:// Triggers the animation named "open" for the entity with an ID of "chest01".
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
-Use the **Play Animation** function to trigger animations for doors being opened and closed upon player interaction or for special NPC emotes like waving at the player.+Use the **Play Animation** function to trigger animations for doors being opened and closed upon player interaction or for special NPC emotes (e.g. waving at the player).
 </WRAP> </WRAP>
  
play_animation.txt · Last modified: 2021/04/21 18:37 by justin