I created 2 separate spawn points on my map that spawn a certain unit after that same unit dies. I originally was using the wait trigger before spawning, but was running into issues with that, so I started using a timer. The triggers work, but they do not start spawning until I get near the spawn point. That's where my problem lies.
Here are my triggers.
Event:
Unit-a unit owned by Player 12 dies
Condition:
(Creep Spawn Area <gen> contains (triggering unit)) Equal to true
Action:
Countdown Timer - Start creepTimer as a One-shot timer that will expire in 2.00 seconds
----------------------------------------------------------------------------
Event:
Time-creepTimer expires
Condition:
(Creep Habitat 0045 <gen> is alive) Equal to True
Action:
- Unit-Create 5 (Unit-type of Creep 0059 <gen>) for Player 12 at (Center of Creep Spawn Point <gen>)facing(random angle) degrees
-Unit-Order (last created unit) to attack-move to (random point in Creep Spawn Area <gen>)
Thanks for your help!
Here are my triggers.
Event:
Unit-a unit owned by Player 12 dies
Condition:
(Creep Spawn Area <gen> contains (triggering unit)) Equal to true
Action:
Countdown Timer - Start creepTimer as a One-shot timer that will expire in 2.00 seconds
----------------------------------------------------------------------------
Event:
Time-creepTimer expires
Condition:
(Creep Habitat 0045 <gen> is alive) Equal to True
Action:
- Unit-Create 5 (Unit-type of Creep 0059 <gen>) for Player 12 at (Center of Creep Spawn Point <gen>)facing(random angle) degrees
-Unit-Order (last created unit) to attack-move to (random point in Creep Spawn Area <gen>)
Thanks for your help!