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

[JASS] Shockwave - help one Jass noob plz

Status
Not open for further replies.
Level 1
Joined
Nov 14, 2005
Messages
1
I want get a simple shockwave, goes from x1,y1 to x2,y2
Creation right?
set dmgEffectsgoof = AddSpecialEffectLocBJ( l, "Abilities\\Spells\\Orc\\Shockwave\\ShockwaveMissile.mdl" )
, but how i let move them ?
Do loop ? Are there any Simple function in Jess for moving special effects?

Thanks for help, plz don't answer use search, i have found nothing ... that is probably too simple for this board of Jass experts. :(
 
Level 3
Joined
Jul 12, 2005
Messages
48
You cant move a special effect, the best way to simulate it is to either
A. Create a new unit in the object editor, and change its model to the special effect your trying to create. This is great if you want to scale the special effect to make it bigger/smaller.
B. Create a dummy unit, and add a special effect to the target, and move the dummy unit.
Either way, your limited by a units max movement speed of 512. To get around this, you need to move the unit using a timer, and moving the units position every .3 seconds toward its destination.
 
Status
Not open for further replies.
Top