• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] trying to do a spell whos pretty easy

Status
Not open for further replies.
Level 19
Joined
Feb 15, 2008
Messages
2,184
  • effect
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Deadly Throw
    • Actions
      • Special Effect - Create a special effect attached to the hand,right of (Casting unit) using Abilities\Weapons\DragonHawkMissile\DragonHawkMissile.mdl
      • Special Effect - Create a special effect attached to the hand,left of (Casting unit) using Abilities\Weapons\DragonHawkMissile\DragonHawkMissile.mdl
      • Special Effect - Destroy (Last created special effect)
and why isent this not working it makes one effect on right hand and its not disapairing its there all time ..... what is wrong how should i do this...

should look like he have 1 effect on each hand when he cast the ability then disapair :S
 
Level 28
Joined
Mar 25, 2008
Messages
2,955
Make a variable which you could call i.e. specialeffect.
Put an array to it.
Now, create the special effect and set the sfx to the variable you made
  • Special Effect - Create a special effect attached to the hand,right of (Casting unit) using Abilities\Weapons\DragonHawkMissile\DragonHawkMissile.mdl
  • Set specialeffect[0] = (Last created special effect)
Do the same for the second sfx and destroy them via
  • Special Effect - Destroy specialeffect[0] / [1]
 
Status
Not open for further replies.
Top