• 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 Spell From Scratch

Status
Not open for further replies.
Level 5
Joined
Feb 22, 2013
Messages
161
How would one go about triggering a line-of-fire spell such as Shockwave? Where anything within distance of it as it's moving along it's line is damaged?
 
Of course it depends on how special you want it to do, but you can try to add immolation to a dummy model.

Then after casting you create this dummy model, and move it to aiming point. (movement: flying)
If you want it faser than speed 522, you can use SetUnitX/Y for movement.

And you could add expiration timer of course to dummy model.
 
Level 6
Joined
Feb 5, 2012
Messages
1,685
Of course it depends on how special you want it to do, but you can try to add immolation to a dummy model.

Then after casting you create this dummy model, and move it to aiming point. (movement: flying)
If you want it faser than speed 522, you can use SetUnitX/Y for movement.

And you could add expiration timer of course to dummy model.

Its just simple.. dude..

Ok here you go.. its MUI and just edit the settings..
 

Attachments

  • Basic FlyMove.w3x
    20 KB · Views: 36

Rheiko

Spell Reviewer
Level 25
Joined
Aug 27, 2013
Messages
4,121
Level 11
Joined
Nov 15, 2007
Messages
800
basically, make a dummy, give it the shockwave model, move it every few microseconds, check for enemies, damage and save each enemy so that it won't hit more than once on the same enemy

If you did anything in JASS every few microseconds, the game would definitely crash. A microsecond is 0.000001 seconds :crazz:
 
Status
Not open for further replies.
Top