- Joined
- Jan 6, 2008
- Messages
- 2,622
Okay, tell me what i do wrong? the effect works excellent, but the units NOT spawning....
-
Call from the Death
-

Events
-


Unit - A unit Starts the effect of an ability
-
-

Conditions
-


(Ability being cast) Equal to Call from the Death
-
-

Actions
-


Custom script: local effect udg_TempFX
-


Custom script: local group udg_TempGroup
-


Custom script: local location udg_TempLoc
-


Custom script: local unit udg_TempCaster
-


Set TempCaster = (Triggering unit)
-


Set TempLoc = (Target point of ability being cast)
-


Special Effect - Create a special effect at TempLoc using war3mapImported\GrudgeAura.mdx
-


Set TempFX = (Last created special effect)
-


Set TempGroup = (Units within 200.00 of TempLoc)
-


Unit Group - Pick every unit in TempGroup and do (Actions)
-



Loop - Actions
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






((Picked unit) belongs to an enemy of (Owner of TempCaster)) Equal to True
-






((Picked unit) is Magic Immune) Not equal to True
-






((Picked unit) has buff Invulnerable) Not equal to True
-
-





Then - Actions
-






Unit - Create 1 Ghoul for (Owner of TempCaster) at (Position of (Picked unit)) facing (Facing of (Picked unit)) degrees
-






Set Dummy = (Last created unit)
-






Unit - Add a 3.00 second Generic expiration timer to Dummy
-






Unit - Order Dummy to Attack (Picked unit)
-






If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-







If - Conditions
-








(Level of Call from the Death for TempCaster) Equal to CallfromtheDeadLevels[2]
-
-







Then - Actions
-








Unit - Create 1 Ghoul for (Owner of TempCaster) at (Position of (Picked unit)) facing (Facing of (Picked unit)) degrees
-








Set Dummy = (Last created unit)
-








Unit - Add a 3.00 second Generic expiration timer to Dummy
-








Unit - Order Dummy to Attack (Picked unit)
-
-







Else - Actions
-
-






If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-







If - Conditions
-








(Level of Call from the Death for TempCaster) Equal to CallfromtheDeadLevels[3]
-
-







Then - Actions
-








Unit - Create 1 Ghoul for (Owner of TempCaster) at (Position of (Picked unit)) facing (Facing of (Picked unit)) degrees
-








Set Dummy = (Last created unit)
-








Unit - Add a 3.00 second Generic expiration timer to Dummy
-








Unit - Order Dummy to Attack (Picked unit)
-
-







Else - Actions
-
-
-





Else - Actions
-
-
-
-


Wait 3.00 seconds
-


Special Effect - Destroy TempFX
-


Custom script: call RemoveLocation(udg_TempLoc)
-


Custom script: call DestroyGroup(udg_TempGroup)
-
-





