How do i make a random spawn in a hunting zone?

Status
Not open for further replies.
Level 9
Joined
Sep 3, 2007
Messages
375
You need to add the event: Unit enters Region, and (probably) a Player Comparison condition, so the spawned units wont keep spawning new ones when they are created.
 
Level 15
Joined
Jan 16, 2008
Messages
1,244
Best way to do it:
Events:
Time - periodic event (every n seconds)
Conditions:
Integer comparison - number of units in (region) less than or equal to (number)-> this prevents overspawning
Actions:
Create (n units) for (some player) at (random point) in (hunting region) facing (whatever angle)

i hope this helps
 
Status
Not open for further replies.
Top