Warcraft III resources & community, 2003–2006 · archived

Requesting Spell

5 posts
#1

Requesting Spell

I need a spell done for me, called boomerang.

If any of you have seen the girl in Inuyasha throw around her big boomerange then you will know what I am talking about. For those who dont, I need the spell to go like this:

You target a unit, and you throw the boomerang at him, but the boomerang arcs to the side and hits anyone in its way, and then it comes back to you. Anything in its way takes damage.

I need this spell for a map I will make soon called Inuyasha Open RPG

Thanks
#2
Request a special model.
1) Make a dummy spell. Base it of off a ground-targeting spell.
2) When the spell is cast, create a dummy unit with the model. The unit should have a powerful permentent immolation and negative life reqeneration.
3) Use a periodic event trigger and "For Each Integer A..." functions to create the arc.
4) When the boomerang dies, detect that with triggers, and create another boomerang.
5) Reverse the arc to bring it back to the caster.

Give this a try. If you can't do this, I will try. However, it will take me a while as I have several spells that I am working on at the moment.

P.S. 1000th post!

~The_Raven
#3
Hmm.. Tried the spell, I couldnt get a Boomerang model so I used the Huntress glaive. For some reason I cant get it to arc, and the units in its way dont get hurt. Obviously I am doing something wrong.. But I don't know what...
#4
I have a working version of the spell, but I need a formula for the arc. I could probably figure it out eventually, but I'm too lazy. If you give me a formula, I can finish the spell.

~The_Raven
#5
should be a parabolic path, right? If I remember correctly the formula is something like y = bg^x? (y = base multiplied by growth factor to the x power) Time to break out the algebra book...

EDIT: nm... that wouldn't return in the same spot