- Joined
- Dec 22, 2007
- Messages
- 35
Hello, long-time user, first time poster.
I am trying to make a spell via jass that's pretty simple. But I can't find a way to make the spell do two things:
First, I want it to have a projectile (a missile, like death coil), without it being based on a spell that already has this property of shooting a projectile (is that possible?) and I want to change the model of the projectile to whatever I want.
I tried something like this, but it has no parameters to put in the path of the model, and the last two values are coordinates which obviously dont help me since I'm trying to attach it to the spell =p.
call AddSpellEffectById( GetSpellAbilityId(), EFFECT_TYPE_MISSILE, 1, 1)
Then I tried something along these lines and all it does is put the thunderclap over the target's head without "throwing" it at him
call AddSpecialEffectTarget("Abilities\\Spells\\Human\\ThunderClap\\ThunderClapCaster.mdl", Target, "overhead")
That's all, thanks!!
I am trying to make a spell via jass that's pretty simple. But I can't find a way to make the spell do two things:
First, I want it to have a projectile (a missile, like death coil), without it being based on a spell that already has this property of shooting a projectile (is that possible?) and I want to change the model of the projectile to whatever I want.
I tried something like this, but it has no parameters to put in the path of the model, and the last two values are coordinates which obviously dont help me since I'm trying to attach it to the spell =p.
call AddSpellEffectById( GetSpellAbilityId(), EFFECT_TYPE_MISSILE, 1, 1)
Then I tried something along these lines and all it does is put the thunderclap over the target's head without "throwing" it at him
call AddSpecialEffectTarget("Abilities\\Spells\\Human\\ThunderClap\\ThunderClapCaster.mdl", Target, "overhead")
That's all, thanks!!