Skip to content

Current questions and answers regarding the map editor.

User Avatar
#4474
Auto-translated
Exploit
Two enemy heroes with different faction flags were standing still, and one of them couldn't be attacked.
To make them stand still:
EnableHeroAI('scripted_hero_name', nil);
To make them stand still and unable to be attacked:
EnableHeroAI('scripted_hero_name', nil);
sleep(1);
SetObjectEnabled('scripted_hero_name', nil);