Skip to content

Current questions and answers regarding the map editor.

User Avatar
#5787
Auto-translated
MaiorPain
Could you please tell me if there is a way to get a trigger (possibly indirect or another method) that indicates a creature in battle has taken damage? I couldn't find any information on this in the documentation, and searching for the word "damage" didn't yield much either (perhaps I didn't use it correctly).

You can get the initial number of creatures in a stack and use a loop to check if the initial number matches the current number. If the number of creatures has decreased, trigger the event.

Also, this question is not related to the map editor. You should ask it in the "Scripts" section.
Мои карты: Белый Храм, Поменяться местами, Судьба королевства, Стихийные острова.