Ok, I already have a spawn system. But it's not working the way I want to. The system just spawns some units in <Playable Map Area> and they always spawn everywhere, even underwater and in the middle of a cliff! Is there any way to prevent this easily? I didn't tried by automatically moving the unit a little so it comes out of the cliff. Going to try and edit post while I wait for a good answer.
Here is the trigger:
Thanks in advance!
Here is the trigger:
-
Spawn Stag
-
Events
- Time - Every 15.00 seconds of game time
-
Conditions
- (Number of living Stag units owned by Neutral Hostile) Less than 100
-
Actions
- Set AntiLeakPosition = (Random point in (Playable map area))
- Unit - Create 1 Stag for Neutral Hostile at AntiLeakPosition facing Default building facing degrees
- Custom script: call RemoveLocation(udg_AntiLeakPosition)
-
Events