• 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.

[Spell] Shockwave + Extra effect

Status
Not open for further replies.
Level 16
Joined
Mar 25, 2016
Messages
1,327
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.
 
Status
Not open for further replies.
Top