Hey, i've been unable to figure out how to make it so every 30 seconds, a unit will spawn by a building.
To be more specific, i have a builder unit who builds buildings that spawn a unit every 30 seconds, but i can't figure out how to do it with buildings that arent already there.
Make the unit production abilities auto-cast, and set the autocast validator to true if nothing is queued on that building (I think you can do that with validators).
Alternatively, you could set the autocast to run every X seconds. This is how nexus wars does it.
Lastly, you could use triggers, but that's no fun ;)
Hey, i've been unable to figure out how to make it so every 30 seconds, a unit will spawn by a building.
To be more specific, i have a builder unit who builds buildings that spawn a unit every 30 seconds, but i can't figure out how to do it with buildings that arent already there.
@DrPainZ: Go
Make the unit production abilities auto-cast, and set the autocast validator to true if nothing is queued on that building (I think you can do that with validators).
Alternatively, you could set the autocast to run every X seconds. This is how nexus wars does it.
Lastly, you could use triggers, but that's no fun ;)
@shardfenix: Go
Alright, thanks :)
EDIT: Oh yeah, another simple question, when i do the unit production abilities, theres no autocast flag. Am i missing something?
@DrPainZ: Go
Anyone know?