Skip to content
#3631
Auto-translated
Robertylia
another question arose: how do you apply an animation to a creature on the map?
You give the creature a script name (Name) and write the following in the script:
PlayObjectAnimation('script.name', 'animation', MODE)
The animation can be, for example, 'idle00', 'death', 'attack00', 'happy', 'hit', 'rangeattack', 'cast', 'specability', 'stir00'.
Modes:
IDLE - repeat the animation,
ONESHOT - play the animation once,
ONESHOT_STILL - play the animation once and freeze in the position of the last frame, useful for 'death',
NON_ESSENTIAL - play the animation once if another animation is not currently playing on the object.

Statistics

Welcome our newest member: Emil

Users Online 3 users 1073 guests