So im trying to make my wild hogs respawn every 3 minutes and for some reason they'll only respawn if its 60 seconds or less. I tried compounding the wait so it would wait 60 then wait another 60 and that doesnt work either. So i was wondering is there like a max wait limit or is there probably something else conflicting with this trigger?
Code:
Revive Creeps
Events
Unit - A unit Dies
Conditions
(Owner of (Triggering unit)) Equal to Neutral Hostile
Actions
-------- Wild Hog Set --------
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Triggering unit)) Equal to Wild Hog
Then - Actions
Hero - Enable experience gain for (Killing unit)
Hero - Add 50 experience to (Killing unit), Show level-up graphics
Hero - Disable experience gain for (Killing unit)
Set Temp_Random_Number = (Random integer number between 1 and 100)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Temp_Random_Number Less than or equal to 33
Then - Actions
Item - Create Hog Hide at (Position of (Triggering unit))
Else - Actions
Do nothing
Else - Actions
Do nothing
Wait 60.00 seconds
Unit - Create 1 (Unit-type of (Triggering unit)) for Neutral Hostile at Creep_Start[(Custom value of (Triggering unit))] facing Creep_Angle[(Custom value of (Triggering unit))] degrees
Unit - Set the custom value of (Last created unit) to (Custom value of (Triggering unit))
Special Effect - Create a special effect at Creep_Start[(Custom value of (Triggering unit))] using Objects\Spawnmodels\NightElf\EntBirthTarget\EntBirthTarget.mdl