HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Sort of a strange problem....

12-16-2003, 01:48 AM#1
DragonSlayerWC3
Can't figure this one out: i want a spell that fires in the direction of facing of the unit that fires it. In other words, i face north and use it, it fires north. I cant figure it out by triggering or by using the spell editor, im just plain confused. Id be much appreciated for any information that might help me get this to work as it is the basis of a map that i just began working on.
12-16-2003, 08:21 AM#2
th15
Spells must target a point, object or have no target at all. In order to use a fucntion like this you must calculate a point in the direction you desire for the spell to fire in.

Edit: I'm an idiot. Don't listen to me, listen to vexorian
12-16-2003, 02:31 PM#3
Vexorian
In fact, it is easier with polar offset

Point with polar offset : Position of (triggering unit) offset by 300 at angle (facing angle of (triggering unit)
12-16-2003, 02:38 PM#4
th15
dammit theres a trigger taht does that? $$&@& and i've been here slogging away all this time! gah!

Thanks for bringing this to my attention man.
12-17-2003, 12:47 AM#5
DragonSlayerWC3
hey thanks a lot, i never really realized what a polar offset was. Well that just about makes everything in my stinkin map easy to do so...well, maybe ill find a problem for ya later, but in the meantime, thanx.