Skip to content

Current questions and answers regarding the map editor.

User Avatar
#4372
Auto-translated
Jack_of_shadows
Trigger(COMBAT_RESULTS_TRIGGER, 'CombatResult');
function CombatResult(id)
...
end
You can check if the necessary units have been killed by giving them names and calling the function
IsObjectExists(object_name)
You can check the status of a quest using the functions
GetObjectiveState()
GetObjectiveProgress()

In principle, everything is clear, except for the function CombatResult(id). CombatResult(id), what should be in the parentheses?