- Joined
- Sep 9, 2010
- Messages
- 368
Hey, I was just making a quick test map today with a triggered spell.
When I tested got an error, saying that my custom scripts are invaild and forces to disable the trigger.
Please have a look at the trigger and try to give me a clue what went wrong.
When I tested got an error, saying that my custom scripts are invaild and forces to disable the trigger.
Please have a look at the trigger and try to give me a clue what went wrong.
-
LightningBlink
-
Events
-
Unit - A unit Begins casting an ability
-
-
Conditions
-
(Ability being cast) Equal to Phase Walk
-
-
Actions
-
-------- Set Variables --------
-
Set PhaseCasterLoc = (Position of (Triggering unit))
-
Set PhaseTargetLoc = (Target point of ability being cast)
-
-------- Lightning Actions --------
-
Lightning - Create a Spirit Link lightning effect from source PhaseCasterLoc to target PhaseTargetLoc
-
Lightning - Destroy (Last created lightning effect)
-
-------- Nullify Variables --------
-
Custom script: Custom script: call RemoveLocation(udg_PhaseCasterLoc)
-
Custom script: Custom script: call RemoveLocation(udg_PhaseTargetLoc)
-
-