Skip to content

Current questions and answers regarding the map editor.

User Avatar
#3629
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.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4