- Joined
- Apr 27, 2009
- Messages
- 224
Hello I'm trying to Unpause Skeleton units that are Hidden and Paused.
Do animation 'Birth' and Unpause units when Player enters region.
Could someone help me out?
Everything works fine except they stay in same place and don't attack nor aggro.
Tried issuing an Order and I had one Wait but removing it doesn't Unpause unit's.
I'm not sure what's happening.
Creeps Init
Creeps Graveyard Enter
Do animation 'Birth' and Unpause units when Player enters region.
Could someone help me out?

Everything works fine except they stay in same place and don't attack nor aggro.
Tried issuing an Order and I had one Wait but removing it doesn't Unpause unit's.
I'm not sure what's happening.
Creeps Init
-
Events
-
Conditions
-
Actions
-
Set VariableSet CreepSkullCamp = (Units in Creep Camp Skull Pile <gen>) -------- HERE'S THE VARIABLE --------
-
Trigger - Turn off (This trigger)
-
-------- --------------------------- --------
-
-------- Creep Units --------
-
Unit Group - Pick every unit in CreepSkullCamp and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Unit-type of (Picked unit)) Not equal to Fallen Priest
-
(Owner of (Picked unit)) Equal to Neutral Hostile
-
-
Then - Actions
-
Unit - Pause (Picked unit)
-
Unit - Hide (Picked unit)
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Owner of (Triggering unit)) Equal to Neutral Hostile
-
-
Then - Actions
-
Animation - Play (Triggering unit)'s Stand Work Gold 1 animation
-
-
Else - Actions
-
-
-
-
-
-
-------- --------------------------- --------
-
Trigger - Turn on Creep Graveyard Enter <gen>
-
Creeps Graveyard Enter
-
Events
-
Unit - A unit enters Creep Camp Skull Pile <gen>
-
Conditions
-
((Owner of (Triggering unit)) Equal to Player 2 (Blue)) or ((Owner of (Triggering unit)) Equal to Player 3 (Teal))
-
Actions
-
Trigger - Turn off (This trigger)
-
Unit Group - Pick every unit in CreepSkullCamp and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Unit-type of (Picked unit)) Not equal to Fallen Priest
-
(Owner of (Picked unit)) Equal to Neutral Hostile
-
-
Then - Actions
-
Unit - Unhide (Picked unit)
-
Animation - Play (Picked unit)'s Birth animation
-
Animation - Queue (Picked unit)'s stand animation
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(((Triggering unit) is visible to Player02_User.) Equal to True) or (((Triggering unit) is visible to Player03_User.) Equal to True)
-
-
Then - Actions
-
Special Effect - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
-
Custom script: DestroyEffectAfterX(GetLastCreatedEffectBJ(), 2.0)
-
-
Else - Actions
-
-------- Does nothing --------
-
-
-
Unit - Unpause (Picked unit)
-
-
Else - Actions
-
-
-
-
Custom script: DestroyGroup(udg_CreepSkullCamp)
-
Last edited: