Skip to content

Current questions and answers regarding the map editor.

User Avatar
#2606
Auto-translated
function PrimaryF () while 1 do sleep(1) if GetHeroCreatures("Mihael", 9) < 1 then SetObjectiveState("Primary",OBJECTIVE_FAILED); break; end; end; end; startThread(PrimaryF); ``` This is a better way to do it.

Whatever