- Joined
- Dec 29, 2009
- Messages
- 928
-
DS InitRun
-

Events
-


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

Conditions
-


(Ability being cast) Equal to Doomed Salvation
-
-

Actions
-


Set DS_Caster = (Triggering unit)
-


Unit - Pause DS_Caster
-


Set DS_TempLoc00 = (Position of (Triggering unit))
-


Set DS_DummyHeight00 = 700.00
-


For each (Integer A) from 1 to 15, do (Actions)
-



Loop - Actions
-




Unit - Create 1 DoomedSalvation DUMMY for (Owner of (Triggering unit)) at DS_TempLoc00 facing 0.00 degrees
-




Animation - Change (Last created unit) flying height to (DS_DummyHeight00 + 50.00) at 0.00
-




Animation - Change (Last created unit) flying height to 0.00 at 2000.00
-




Unit - Add a 0.90 second Generic expiration timer to (Last created unit)
-
-
-


Set DS_DummyHeight00 = 0.00
-


Special Effect - Create a special effect at (Position of (Triggering unit)) using Objects\Spawnmodels\Undead\UDeathMedium\UDeath.mdl
-


Special Effect - Destroy (Last created special effect)
-


Custom script: call RemoveLocation(udg_DS_TempLoc00)
-
-
-
DS Run
-

Events
-


Unit - A unit Dies
-
-

Conditions
-


(Unit-type of (Triggering unit)) Equal to DoomedSalvation DUMMY
-
-

Actions
-


Set DS_TempLoc00 = (Position of (Triggering unit))
-


Unit Group - Pick every unit in (Units within (((Real((Level of Doomed Salvation for DS_Caster))) x 30.00) + 200.00) of (Center of (Playable map area)) matching (((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True)) and do (Actions)
-



Loop - Actions
-




Unit - Pause (Picked unit)
-




Special Effect - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
-




Special Effect - Destroy (Last created special effect)
-




Special Effect - Create a special effect at (Position of (Picked unit)) using Objects\Spawnmodels\Undead\UDeathSmall\UDeathSmall.mdl
-




Special Effect - Destroy (Last created special effect)
-




Unit - Cause (Triggering unit) to damage (Picked unit), dealing (((Real((Strength of DS_Caster (Include bonuses)))) x 3.00) + (((Real((Agility of DS_Caster (Include bonuses)))) x 3.00) + ((Real((Intelligence of DS_Caster (Include bonuses)))) x 3.00))) damage of attack type Spells and damage type Normal
-




Unit - Unpause DS_Caster
-




Unit - Unpause (Picked unit)
-
-
-
-
EDIT: Nevermind. I had the affected area set to the center of the map.
WHILE it's up there... are there any leaks or problems I need to fix?












