- Joined
- Dec 26, 2010
- Messages
- 475
Hello, when i cast my spell the caster hides and then when it is finish it unhides the caster. the problem is it doesn't unhide the caster
+Rep
+Rep
Triggers:
-
Kendo Slash
-

Events
-


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

Conditions
-


(Ability being cast) Equal to Kendo Slash
-
-

Actions
-


Set KenpachiKendoSlash_Unit[0] = (Triggering unit)
-


Set KenpachiKendoSlash_Point[0] = (Target point of ability being cast)
-


Set KenpachiKendoSlash_Point[1] = (Position of KenpachiKendoSlash_Unit[0])
-


Unit - Create 1 Kenpachi Kendo Dummy for (Owner of KenpachiKendoSlash_Unit[0]) at KenpachiKendoSlash_Point[1] facing KenpachiKendoSlash_Point[0]
-


Set KenpachiKendoSlash_Unit[1] = (Last created unit)
-


Animation - Play KenpachiKendoSlash_Unit[1]'s Attack 3 animation
-


Unit - Hide KenpachiKendoSlash_Unit[0]
-


Set KenpachiKendoSlash_Point[2] = ((Position of KenpachiKendoSlash_Unit[0]) offset by 50.00 towards (Facing of KenpachiKendoSlash_Unit[1]) degrees)
-


Unit - Create 1 Kenpachi Kendo Missile Dummy for (Owner of KenpachiKendoSlash_Unit[0]) at KenpachiKendoSlash_Point[2] facing KenpachiKendoSlash_Point[0]
-


Set KenpachiKendoSlash_Unit[2] = (Triggering unit)
-


Special Effect - Create a special effect at (Position of KenpachiKendoSlash_Unit[1]) using war3mapImported\NewDirtEXNofire.mdx
-


Special Effect - Destroy (Last created special effect)
-


Trigger - Turn on Kendo Slash Loop <gen>
-


Wait 0.50 seconds
-


Trigger - Turn off Kendo Slash Loop <gen>
-


Unit - Unhide KenpachiKendoSlash_Unit[0]
-


Unit - Remove KenpachiKendoSlash_Unit[2] from the game
-


Custom script: call RemoveLocation(udg_KenpachiKendoSlash_Point[0])
-


Custom script: call RemoveLocation(udg_KenpachiKendoSlash_Point[1])
-


Custom script: call RemoveLocation(udg_KenpachiKendoSlash_Point[2])
-


Custom script: call RemoveLocation(udg_KenpachiKendoSlash_Point[3])
-
-
-
Kendo Slash Loop
-

Events
-


Time - Every 0.02 seconds of game time
-
-

Conditions
-

Actions
-


Set KenpachiKendoSlash_Point[3] = (Position of KenpachiKendoSlash_Unit[2])
-


Set KenpachiKendoSlash_Point[3] = (KenpachiKendoSlash_Point[3] offset by 30.00 towards (Facing of KenpachiKendoSlash_Unit[1]) degrees)
-


Unit - Move KenpachiKendoSlash_Unit[2] instantly to KenpachiKendoSlash_Point[3]
-


Special Effect - Create a special effect at KenpachiKendoSlash_Point[3] using Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
-


Special Effect - Destroy (Last created special effect)
-


Special Effect - Create a special effect at KenpachiKendoSlash_Point[3] using Abilities\Spells\Human\Thunderclap\ThunderClapCaster.mdl
-


Special Effect - Destroy (Last created special effect)
-


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



If - Conditions
-




(KenpachiKendoSlash_Unit[2] is alive) Equal to True
-
-



Then - Actions
-




Set KenpachiKendoSlash_UnitGroup[0] = (Units within 200.00 of (Position of KenpachiKendoSlash_Unit[2]) matching ((((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an ally of (Owner of KenpachiKendoSlash_Unit[0])) Equal to False)) and (((Matching unit) is in KenpachiKen
-




Unit Group - Pick every unit in KenpachiKendoSlash_UnitGroup[0] and do (Actions)
-





Loop - Actions
-






Unit Group - Add (Picked unit) to KenpachiKendoSlash_UnitGroup[0]
-






Unit - Cause KenpachiKendoSlash_Unit[0] to damage (Picked unit), dealing 2000.00 damage of attack type Spells and damage type Normal
-
-
-




Custom script: call DestroyGroup (udg_KenpachiKendoSlash_UnitGroup[0])
-




Custom script: call RemoveLocation(udg_KenpachiKendoSlash_Point[3])
-
-



Else - Actions
-
-
-




