Skip to content

How to place dead creatures on the map.

User Avatar
#9
Auto-translated
Actually, this function **plays** the death animation, and if you place the hero next to the creature, it will, of course, twitch. Secondly, some creatures don't have a death animation. Then they will hang in the air with their arms strictly perpendicular to their body.

In general, place the hero **not** next to the monster. Then it will "have time to die" before the hero arrives :D.

Regarding the script: when I was making a test map, I was suggested the following script for creature death:
PlayObjectAnimation ("storm1", "death", ONESHOT_STILL);
Here, "storm1" is the script name of the monster, "death" is the name of the animation, in this case - death (there may be others), and ONESHOT_STILL means that the "corpse" will remain lying there :).
Карты для Heroes of Might and Magic V
Цикл "Закадычные враги": "Особенное гостеприимство, "Супероружие", "Меж молотом и наковальней"
"Падение Шантири"

Кампания для "Кодекса Войны"
"Выбор Сагиттеля"