I have problems with my spell special effect...

MetaMoRpheXx

New Member
Reaction score
1
I have this Code:
Trigger:
  • 1st Trigger:
    • Events
      • A unit starts casting an ability
    • Conditions
      • (Ability being cast) Equal to Supernova
    • Actions
      • Special Effect - Create a special effect attached to the foot of (Target Unit of Ability being cast) using (flame strike.mdl)
      • Special Effect - Destroy Last Created special effect



Trigger:
  • 2nd Trigger:
    • Events
      • A unit finishes casting an ability
    • Conditions
      • (Ability being cast) Equal to Supernova
    • Actions
      • Unit - Pause (Target Unit of Ability being cast)
      • Wait 5.00 seconds
      • Unit - Unpause (Trigerring Unit)
      • Unit - Remove Crashed buff from (Target Unit of Ability being cast)
      • Special Effect - Create a special effect attached to the foot of (Target Unit of Ability being cast) using (Flame strike special.mdl)



The Problem is:

The special effect works well at first trigger

I want a special effect afer 5 seconds using the second trigger but the special effect on the second trigger does not work (Note only the special effect... The pause command there is a stun skill and i want the explode effect after the pause action).

Can someone help?
 

Moridin

Snow Leopard
Reaction score
144
(Target point of ability being cast) doesn't work after a wait. Store it in a variable and use the variable instead.
 

MetaMoRpheXx

New Member
Reaction score
1
Ok, I'll try :)... and so in that case i'll be changing the "(Target point of ability being cast)" in to a variable?
 

Moridin

Snow Leopard
Reaction score
144
Yes. In the beginning of the actions use the

Set variable

action to set a "point" variable to (Target point of ability being cast). Then when you're using the target point of ability being cast after the wait, use your point variable instead.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top