Hi guys. I'm in need of some help. I'm still very new to mapping and I'm by no means an expert, bear with me!
I'm trying to make a unit spawner, solely through the use of triggers. I want said spawner to spawn units who will patrol the nearby area but not wander off too far away from the spawner itself. I feel like I've been close at making it work on my own but I've run into a bit of trouble that, after several days of struggle, I can't solve on my own.
Here's the trigger I've got so far:
The problem lies in the "while" loop for a unit that is spawned since it prevents the trigger from running and (while making the unit patrol) freezes the spawner from spawning more units.
In the end I hope on making a map that will spawn a set amount of spawners at random positions on a map, which will also respawn once killed at another random position on the map. These spawners will continuously spawn units who will patrol the area around it's spawner.
Is it possible to create the spawner I'm trying to do? Any ideas on how I could make it work? Eitherway, thanks in advance.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Thanks to you guys, it now works just as I want it to. You have no idea how grateful I am!
Hi guys. I'm in need of some help. I'm still very new to mapping and I'm by no means an expert, bear with me!
I'm trying to make a unit spawner, solely through the use of triggers. I want said spawner to spawn units who will patrol the nearby area but not wander off too far away from the spawner itself. I feel like I've been close at making it work on my own but I've run into a bit of trouble that, after several days of struggle, I can't solve on my own.
Here's the trigger I've got so far: The problem lies in the "while" loop for a unit that is spawned since it prevents the trigger from running and (while making the unit patrol) freezes the spawner from spawning more units.
In the end I hope on making a map that will spawn a set amount of spawners at random positions on a map, which will also respawn once killed at another random position on the map. These spawners will continuously spawn units who will patrol the area around it's spawner.
Is it possible to create the spawner I'm trying to do? Any ideas on how I could make it work? Eitherway, thanks in advance.