LanceDH
L
LanceDH
Hi,
I'm trying to add and remove the ability Ghost to a group of units.
I tried it in some random map before and it worked fine, now I'm trying it in my real map and it's not working as it should.
All that happens is the first special effect on the picked units, they don't turn invisible so they don't get the spell, neither to they get the special affect a 2nd time.
It just ends up doing: 5sec wait, 1x special effect, 5sec wait, effect, ...
I'm trying to add and remove the ability Ghost to a group of units.
I tried it in some random map before and it worked fine, now I'm trying it in my real map and it's not working as it should.
All that happens is the first special effect on the picked units, they don't turn invisible so they don't get the spell, neither to they get the special affect a 2nd time.
It just ends up doing: 5sec wait, 1x special effect, 5sec wait, effect, ...
-
Spectral Shift
-

Events
-

Conditions
-


EliteSpecial Equal to (Shifting)
-
-

Actions
-


Wait 5.00 seconds
-


Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 12 (Brown)) 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 Summoner
-






((Picked unit) is A structure) Equal to False
-
-





Then - Actions
-






Special Effect - Create a special effect attached to the chest of (Picked unit) using Abilities\Spells\Undead\CarrionSwarm\CarrionSwarmDamage.mdl
-






Wait 0.30 seconds
-






Unit - Add Ghost to (Picked unit)
-






Wait 1.00 seconds
-






Unit - Remove Ghost from (Picked unit)
-






Animation - Change (Picked unit)'s vertex coloring to (100.00%, 100.00%, 100.00%) with 75.00% transparency
-






Special Effect - Create a special effect attached to the chest of (Picked unit) using Abilities\Spells\Undead\CarrionSwarm\CarrionSwarmDamage.mdl
-
-





Else - Actions
-
-
-
-


Trigger - Run (This trigger) (checking conditions)
-
-



