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!
I want to improve the spell shockwave by making an explosion about 350 units in front of the caster. How Do I do this? And can someone point out how to make special effects in front of units. thanks!
You have to find the point and the time. The point is relatively easy:
Shockwave
Events
Unit - A unit Starts the effect of an ability
Conditions
Actions
Set Pos1 = (Position of (Triggering unit))
Set Pos2 = (Target point of ability being cast)
Set Angle = (Angle from Pos1 to Pos2)
Custom script: call RemoveLocation(udg_Pos2)
Set Pos2 = (Pos1 offset by 350.00 towards Angle degrees)
Custom script: call RemoveLocation(udg_Pos1)
Special Effect - Create a special effect at Pos2 using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
Custom script: call RemoveLocation(udg_Pos2)
If you want it to be instantly you can use this. If you want the special effect to appear, when the missile of the wave is at that point, you need to delay the special effect. Delaying things in GUI is a bit harder than in JASS, if you do not want to use waits.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.