My creep revival system works perfectly with a 30 second wait but not a 300 second wait?
Here are the triggers:
Thanks
Here are the triggers:
-
Revival System
-
Events
-
Map initialization
-
-
Conditions
-
Actions
-
Unit Group - Pick every unit in (Units in (Playable map area) owned by Neutral Hostile) and do (Actions)
-
Loop - Actions
-
Set Creep_ID = (Creep_ID + 1)
-
Unit - Set the custom value of (Picked unit) to Creep_ID
-
Custom script: set udg_Creep_X[udg_Creep_ID] = GetUnitX(GetEnumUnit())
-
Custom script: set udg_Creep_Y[udg_Creep_ID] = GetUnitY(GetEnumUnit())
-
-
-
-
-
Revive Creeps
-
Events
-
Unit - A unit Dies
-
-
Conditions
-
((Owner of (Triggering unit)) Equal to Neutral Hostile) and (((Triggering unit) is Summoned) Equal to False)
-
-
Actions
-
Wait 300.00 seconds
-
Unit - Create 1 (Unit-type of (Triggering unit)) for Neutral Hostile at ((Center of (Entire map)) offset by (Creep_X[(Custom value of (Triggering unit))], Creep_Y[(Custom value of (Triggering unit))])) facing (Random angle) degrees
-
Unit - Set the custom value of (Last created unit) to (Custom value of (Triggering unit))
-
Unit - Make (Last created unit) Remain awake when unprovoked at night
-
-
Thanks