trb92
Throwing science at the wall to see what sticks
- Reaction score
- 142
Heres what I did is this correct? When I try out the ability it takes like 3 seconds after impact to show the graphic. I WANT it to show the graphic right when the art missle impacts.Code:Gernade explosion graphic Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to Gernade Actions Set pointone = (Position of (Casting unit)) Set pointtwo = (Target point of ability being cast) Set pointthree = (Target point of ability being cast) Wait ((Distance between pointone and pointtwo) / 200.00) seconds Special Effect - Create a special effect at pointthree using Abilities\Spells\Other\Incinerate\FireLordDeathExplode.mdl Custom script: call RemoveLocation (udg_pointone) Custom script: call RemoveLocation (udg_pointtwo) Custom script: call RemoveLocation (udg_pointthree)
Duwenbasden: You forgot to tell me to put udg_ in front of the varible name. What does udg mean anyway?
SOLVED
I'd just like to point out that the location pointthree is useless in this because it's exactly the same as pointtwo.
Code:
Special Effect - Create a special effect at pointthree using Abilities\Spells\Other\Incinerate\FireLordDeathExplode.mdl
Code:
Special Effect - Create a special effect at pointtwo using Abilities\Spells\Other\Incinerate\FireLordDeathExplode.mdl
Code:
Custom script: call RemoveLocation (udg_pointthree)