- Joined
- Jun 20, 2011
- Messages
- 19
While creating a seemingly simple spell for my map, I ran into a peculiar problem I wasn't expecting.
The spell is meant to be a simple positional switch, nether swap -style, but with different gfx and additional effects. Thinkin I'd cough something that simple in about five minutes, I did this:
Could someone smarter than me point out what I'm doing wrong?
Thanks in advance.
The spell is meant to be a simple positional switch, nether swap -style, but with different gfx and additional effects. Thinkin I'd cough something that simple in about five minutes, I did this:
-
Shift
-

Events
-


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

Conditions
-


(Ability being cast) Equal to Shift
-
-

Actions
-


Set TempLoc = (Position of (Casting unit))
-


Set TempLoc2 = (Position of (Target unit of ability being cast))
-


Lightning - Create a Healing Wave - Primary lightning effect from source TempLoc to target TempLoc2
-


Set ShiftBeam = (Last created lightning effect)
-


Special Effect - Create a special effect at TempLoc using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
-


Special Effect - Create a special effect at TempLoc2 using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
-


Unit - Turn collision for (Casting unit) Off
-


Unit - Turn collision for (Target unit of ability being cast) Off
-


Unit - Move (Casting unit) instantly to TempLoc2
-


Unit - Move (Target unit of ability being cast) instantly to TempLoc
-


Unit - Turn collision for (Casting unit) On
-


Unit - Turn collision for (Target unit of ability being cast) On
-


Custom script: call RemoveLocation( udg_TempLoc )
-


Custom script: call RemoveLocation( udg_TempLoc2 )
-


Wait 0.60 seconds
-


Lightning - Destroy ShiftBeam
-
-
Could someone smarter than me point out what I'm doing wrong?
Thanks in advance.



