HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Dodgeball type spell

07-19-2004, 06:29 AM#1
ChaoticPeasant
I need a little help on making a trigger that creates a ball in front of the unit and forces it to move in the direction the triggering unit is facing forever....and I need someone to give me a little help. I used to be able to do something like this, but I've gotten rusty.... Oh and incase you're wondering what spell i based the custom ability off of, it's breath of fire. I've been shooting at it for a while, but the off set triggers are tricky for me.

The only part i need help on is spawning the ball in front of the unit and moving it.

Thanks ahead of time.
07-19-2004, 06:39 AM#2
HexenLordX
Well, you could make the ball itself an actual unit and make a trigger something like this:

Events:
-Unit begins casting an ability
Conditions:
-Ability being cast equal to dodgeball
Actions:
-Unit - Order Ball to Move To Position of target offset by 99999.00 towards (Facing of Thrower Degrees) degrees)

This would make the ball continue to move forever in the direction the caster is facing.

However, you do realize that something has to happen when the ball reaches the edge of the map, otherwise it will just kinda stay there, so the ball cannot actually move indefinitely in the direction it is thrown.
07-19-2004, 02:52 PM#3
ChaoticPeasant
Quote:
Originally Posted by HexenLordX
Well, you could make the ball itself an actual unit and make a trigger something like this:

Events:
-Unit begins casting an ability
Conditions:
-Ability being cast equal to dodgeball
Actions:
-Unit - Order Ball to Move To Position of target offset by 99999.00 towards (Facing of Thrower Degrees) degrees)

This would make the ball continue to move forever in the direction the caster is facing.

However, you do realize that something has to happen when the ball reaches the edge of the map, otherwise it will just kinda stay there, so the ball cannot actually move indefinitely in the direction it is thrown.

Hmm, sorry, but it didn't work. Since it has a Polar Offset the ball tends to move outwards to make a circle in the middle of it's "Straight" path. So, I still need help. I appreciate the attempt though, thanks.