Jump to content


Photo

Worldbuilder Scripting


  • Please log in to reply
1 reply to this topic

#1 Jaycred

Jaycred
  • New Members
  • 2 posts

Posted 11 August 2021 - 06:09 PM

Is there any way to select all units after the map is loaded? Specifically, my goal is to delete or kill all builders/porters at the start. I tried a couple examples I found but neither of them worked. I guess the process of selecting units that aren't pre-placed as part of the map is confusing me here.


Edited by Jaycred, 11 August 2021 - 06:10 PM.


#2 Jokuc

Jokuc

    Hardcore Procrastinator

  • Members
  • 187 posts
  • Location:Sweden
  •  Mapper

Posted 15 August 2021 - 10:16 AM

Use this

 

or you can simply use map ini and change the spawning units for each faction from 2 porters to none:

PlayerTemplate FactionElves
	StartingUnit0 = None
	StartingUnit1 = None
End





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users