Skip to content

Current questions and answers regarding the map editor.

User Avatar
#4518
Auto-translated
The team itself in this case.

SetObjectOwner (hero, 1)

Where hero is the hero; if it's a script name, it should be in quotes, and 1 is the red player.

Added 4 minutes later
How to write the script itself (create a file for it), see elsewhere; I can't do it right away, I need the map itself.

A complete example for the hero Rolf:

SetObjectOwner ("Rolf", 2)

2 is the blue player.
Карты для героев 5

"Плата за любовь"
"Путь некроманта"
"Темные грани"
"Рок Гримхейма"