K
kcorB
Guest
Hey I know that this has been asked and all that but i need a SIMPLE creep revival trigger thanks
Events
Time - Elapsed game time is 0.00 seconds
Conditions
Actions
Set TempGroup = (Units owned by Neutral Hostile)
Set TempInt = 0
Custom script: set bj_wantDestroyGroup = true
Unit Group - Pick every unit in TempGroup and do (Actions)
Loop - Actions
Set TempInt = (TempInt + 1)
Set TempUnit = (Picked unit)
-------- ------------- --------
Set Creeps_UnitTypes[TempInt] = (Unit-type of TempUnit)
Set Creeps_Locations[TempInt] = (Position of TempUnit)
-------- ------------- --------
Unit - Remove TempUnit from the game
Unit - Create 1 Creeps_UnitTypes[TempInt] for Neutral Hostile at Creeps_Locations[TempInt] facing Default building facing degrees
Unit - Set the custom value of (Last created unit) to TempInt
Events
Unit - A unit owned by Neutral Hostile Dies
Conditions
Actions
Wait 60.00 game-time seconds
Set TempUnit = (Dying unit)
Set TempInt = (Custom value of TempUnit)
-------- ------------- --------
Unit - Create 1 Creeps_UnitTypes[TempInt] for Neutral Hostile at Creeps_Locations[TempInt] facing Default building facing degrees
Unit - Set the custom value of (Last created unit) to TempInt