Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
That's the other way.
This way is better if your units don't have food/gold/lumber cost.
If you use it, remember to set it's duration to 0 (so they will last forever) and leash range to 999999 (if you don't do it, spawned unit will die when they go out of ''Leash Range'').
(Unit-type of (Constructed structure)) Equal to (your unit)
Actions
Unit - Order (Constructed structure) to train/upgrade to a (your unit)
Untitled Trigger 002
Events
Unit - A unit Finishes training a unit
Conditions
(Unit-type of (Trained unit)) Equal to (your unit)
Actions
Unit - Order (Triggering unit) to train/upgrade to a (your unit)
if you dont have resources for than unit auto training will stop,if that is a problem you can do this
Event
ever 0.5 sec og game
Action
set UNITGROUP unit of type (unit that you want to do auto train)
pick every unit in UNITGROUP and do actions
order picked unit to train/upgrade to (unit that you want to be trained)
call DestroyGroup(udg_UNITGROUP)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.