is there a script to limit how many locals can spawn ?
like a add deathmatch goal but for locals ?
You can set how many locals will spawn in "AddUnitClass("tusken",3) and SetUnitCount(3,20)"
Some more information about locals:
- You cannot set a finite limit to the team. (there isn't a counter like 200 for them, like with teams 1 and 2)
- Team 3, if unallied or an enemy, will spawn however many units are set in the AddUnitClass/SetUnitCount (should be equal) for the duration of the battle unless they run out of CPs
- Team 3, if allied with one side, will spawn up to SetUnitCount or the reinforcement count of Ally Team, whichever is less. So if the Rebels are allied with the Wookiees, the Wookiees will spawn 20 reinforcements until Rebel reinforcement count < 20, then it will count down with it. If the rebels have 5, Wookiees have 5.
- To get around this issue, you can use "SetTeamAsNeutral" and "SetTeamAsEnemy". The neutral team will not have to worry about purposefully getting shot and there is not a limit set like the Ally Team.
thanks i guess its fine the way it is.