Skip to content

Current questions and answers regarding the map editor.

User Avatar
#1350
Auto-translated
To create a neutral hero, place a regular hero on the map with any owner. Then, in the scripts, write:
SetObjectOwner(hero, owner)
where hero is the script name of the hero, and owner is the ID of a player who is NOT PARTICIPATING IN THE GAME.
Therefore, if all 8 players are participating in the game, it will not be possible to place a neutral hero.
The neutral hero will remain stationary, so there is no need to disable its MP.