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!
Set Point2 = ((Point1) offset by 500.00 towards (Facing of (Unit1))
Unit - Order (Unit1) to Move to (Point2)
Trigger2
Events
Time - Every 0.03 seconds of game times
Conditions
((Unit1) is alive) Equal to True
Actions
Set Point3 = (Position of (Unit1))
If/ then / else
If (Conditions)
((Distance between (Point2) and (Point3)) Less than or Equal to 30.00
Then (Actions)
Trigger - Turn off (This trigger)
Custom script: call RemoveLocation (udg_Point1)
Custom script: call RemoveLocation (udg_Point2)
Unit - Explode (Unit1)
Else (Actions)
Custom script: call RemoveLocation (udg_Point3)
If it is a trained unit, just replace the event with "Unit - A unit finished training a unit" and the Condition "Unit-type of (Trained unit) Equal to X"
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.