- Joined
- Oct 24, 2012
- Messages
- 77
-
Creep Revival System Initialization
-
Events
-
Map initialization
-
-
Conditions
-
Actions
-
Unit Group - Pick every unit in (Units in PlayRegion <gen> owned by Neutral Hostile) and do (Actions)
-
Loop - Actions
-
Set Integer = (Integer + 1)
-
Unit - Set the custom value of (Picked unit) to Integer
-
Custom script: set udg_Creep_X[udg_Integer] = GetUnitX(GetEnumUnit())
-
Custom script: set udg_Creep_Y[udg_Integer] = GetUnitX(GetEnumUnit())
-
-
-
-
-
Revive Creep 1 by 1
-
Events
-
Unit - A unit Dies
-
-
Conditions
-
((Owner of (Triggering unit)) Equal to Neutral Hostile) and (((Triggering unit) is Summoned) Not equal to True)
-
-
Actions
-
Wait 5.00 game-time seconds
-
Set tempPoint[1] = (Center of (Entire map))
-
Set tempPoint[2] = (tempPoint[1] offset by (Creep_X[(Custom value of (Triggering unit))], Creep_Y[(Custom value of (Triggering unit))]))
-
Unit - Create 1 (Unit-type of (Triggering unit)) for Neutral Hostile at tempPoint[2] facing (Random angle) degrees
-
Unit - Set the custom value of (Last created unit) to (Custom value of (Triggering unit))
-
Custom script: call RemoveLocation(udg_tempPoint[1])
-
Custom script: call RemoveLocation(udg_tempPoint[2])
-
-