Age of Wonders III

Age of Wonders III

View Stats:
AmySloth Jul 29, 2020 @ 11:54pm
How would I set the starting hero in the map editor?
Wondering if it's possible to set who will be the starting hero in the map editor for a custom scenario. I don't mean the leader, I have that figured out but can't seem to figure out how to or where to edit the hero spawner to set who is the first one.

Thanks in advance for any/all answers!
Originally posted by Gladen:
Without removing them from the mod editor you have to turn off random hero spawns in the user setting of the map.

Then spawn then by finding the hero in the unit spawn list and spawn them by putting them in a spawn list with a timer from turn 1 with the following script and place a green marker with an custom alias.

HexWorld:GetScriptingS():SpawnGroupSpawnAtPosition("SPAWNERGROUP", HexWorld:GetScriptingS():GetPosition("MARKERALIAS"), "SW")
< >
Showing 1-2 of 2 comments
The author of this thread has indicated that this post answers the original topic.
Gladen Jul 30, 2020 @ 12:26am 
Without removing them from the mod editor you have to turn off random hero spawns in the user setting of the map.

Then spawn then by finding the hero in the unit spawn list and spawn them by putting them in a spawn list with a timer from turn 1 with the following script and place a green marker with an custom alias.

HexWorld:GetScriptingS():SpawnGroupSpawnAtPosition("SPAWNERGROUP", HexWorld:GetScriptingS():GetPosition("MARKERALIAS"), "SW")
Last edited by Gladen; Jul 30, 2020 @ 12:27am
AmySloth Jul 30, 2020 @ 2:58am 
Originally posted by Gladen:
Without removing them from the mod editor you have to turn off random hero spawns in the user setting of the map.

Then spawn then by finding the hero in the unit spawn list and spawn them by putting them in a spawn list with a timer from turn 1 with the following script and place a green marker with an custom alias.

HexWorld:GetScriptingS():SpawnGroupSpawnAtPosition("SPAWNERGROUP", HexWorld:GetScriptingS():GetPosition("MARKERALIAS"), "SW")
Thanks! I didn't think to look for hero spawning settings in someplace other than the heroes tab or spawner tab XP Probably would have taken me a while to find it if you hadn't mentioned it being in the user settings.

Edit:

Also, for anyone else interested, to turn off the auto hero spawner it's in settings>map settings>main>user settings>spawn random heroes

This setting was what was mostly evading me lmao.
Last edited by AmySloth; Jul 30, 2020 @ 3:19am
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: Jul 29, 2020 @ 11:54pm
Posts: 2