another question arose: how do you apply an animation to a creature on the map?
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.