Skip to content

Current questions and answers regarding the map editor.

User Avatar
#2599
Auto-translated
Agas.

function proverka()
while 1 do
sleep(1)
if GetHeroCreatures ('heroname' , creature_id) < 1 then
--what happens if the number of creatures in the hero's army is less than 1
break -- if you need to disable the check later
end
end
end
startThread(proverka)

Whatever

Statistics

Welcome our newest member: wayal