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

How to change Missileart model in run-time

Status
Not open for further replies.
Level 1
Joined
Jul 3, 2008
Messages
3
That's it. I wanted to know if there's a way to change the model of the missile.. or Missileart value of units.
You can see this effect in the spell <AHfa> of the unit <Emoo> (raw names). But I don't want to do a new spell based on that one, I need to call a function somewhere else... is there a JASS code for this?

Thanks
 
Level 6
Joined
Jul 25, 2005
Messages
221
Actually, Searing Arrows doesn't change the model of the missile, all it really does is cast a spell that has the burning arrow model as a missile, they have no correlation to eachother, although it might seem that way since blizz made one arrow model, then made a new one based on the first arrow model and added some nice fire on it, thats it. If you wish to do the same then base your ability on that one and change the missile type to whatever you like. :cute:

Alternatively, make a trigger that creates a missile dummy that moves towards a target, then exchange the dummy for a new one with a different model. There are plenty of these triggers on the forum. :wink:
 
Level 9
Joined
Feb 19, 2006
Messages
115
Use the "Item attack fire bonus" ability, just copy it and change the "Missile Art" field to whatever you want the missile to be, and set all the others to nothing, and "Targets allowed" to whatever your unit can attack.
Then just add the spell to the unit whenever using Unit - Add Ability function
 
Status
Not open for further replies.
Top