- Joined
- Jul 19, 2007
- Messages
- 857
I have made a spell in my map that works like a global "Soul Burn" which means it should affect all enemies in the map but it wont affect units that aren't in vision for some reason. What's wrong?
-
Curse of Mirkwood
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Curse of Mirkwood
-
-
Actions
-
Set VariableSet GroupMirkwoodCurse = (Units in (Playable map area))
-
Unit Group - Pick every unit in GroupMirkwoodCurse and do (Actions)
-
Loop - Actions
-
Set VariableSet TempPoint = (Position of (Picked unit))
-
Unit - Create 1 Spell Cast Dummy (Curse of Mirkwood) for (Owner of (Triggering unit)) at (Position of (Picked unit)) facing Default building facing degrees
-
Unit - Add Curse of Mirkwood (Dummy Spell) to (Last created unit)
-
Unit - Set level of Curse of Mirkwood (Dummy Spell) for (Last created unit) to (Level of Curse of Mirkwood for Thranduil 0380 <gen>)
-
Unit - Order (Last created unit) to Neutral Fire Lord - Soul Burn (Picked unit)
-
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
-
Custom script: call RemoveLocation (udg_TempPoint)
-
-
-
Custom script: call DestroyGroup (udg_GroupMirkwoodCurse)
-
-