Napenthe
New Member
- Reaction score
- 2
First post here, so feel free to let me know if i'm posting in the wrong place or i miss some basic etitiquette.
Question part, the 1st
I'm looking for advice on the following trigger (with an eye towards efficiency, memory leak mitigation, etc.). The trigger's meant to spawn units at a building until the building is killed.
Question part, the 2nd
I have many of these spawn points. Would it be best to have 1 trigger that applies the conditions to each spawn-point in a loop or a seperate trigger for each spawn-point (and if the former, how would i best do that?)?
P.S. The trigger seems to work fine. Just wondering if there's a better way to do it and how best to apply it to several spawn-points.
(And perhaps some general advice on how to post triggers properly)
For the second part, should i just make a seperate trigger, something like this:
Spawns
Events
Time - Every 8.00 seconds of game time
Conditions
Actions
For each (Integer Spawns[(Integer A)]) from 1 to 10, do (Trigger - Run Grave spawn <gen> (checking conditions))
Thanks to any who assist.
Question part, the 1st
I'm looking for advice on the following trigger (with an eye towards efficiency, memory leak mitigation, etc.). The trigger's meant to spawn units at a building until the building is killed.
Question part, the 2nd
I have many of these spawn points. Would it be best to have 1 trigger that applies the conditions to each spawn-point in a loop or a seperate trigger for each spawn-point (and if the former, how would i best do that?)?
P.S. The trigger seems to work fine. Just wondering if there's a better way to do it and how best to apply it to several spawn-points.
(And perhaps some general advice on how to post triggers properly)
For the second part, should i just make a seperate trigger, something like this:
Spawns
Events
Time - Every 8.00 seconds of game time
Conditions
Actions
For each (Integer Spawns[(Integer A)]) from 1 to 10, do (Trigger - Run Grave spawn <gen> (checking conditions))
Thanks to any who assist.