HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Pretty advanced Trigger Spell - Need help

08-04-2003, 02:10 AM#1
Bl4ck1E
OK the custom spell is a fire wall and is enhanced with triggers. This is what i have got so far:

Actions
Unit - Create 1 Firewall caster for (Owner of f_wall_caster) at f_wall_target facing (Facing of f_wall_caster) degrees
Set f_wall_caster2 = (Last created unit)
Special Effect - Create a special effect at (Position of f_wall_caster2) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
Wait 0.40 game-time seconds
Special Effect - Create a special effect at ((Position of f_wall_caster2) offset by (0.00, 20.00)) using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl

And here is my problem, I dont know how to create the effects(the fire) in the right line(by using offsets of course).

Anyone able to help me out?
08-04-2003, 02:12 AM#2
Pesmerga
Quote:
Originally posted by Bl4ck1E

And here is my problem, I dont know where the caster is facing


Use - Angle of (facing angle of unit)
08-04-2003, 08:15 AM#3
Bl4ck1E
Quote:
Originally posted by Pesmerga
Use - Angle of (facing angle of unit)


Wow..I need the offsets, so the line of fire is proportional to the facing of the caster..

If you were reading carefuly you would have seen that I already used that.
08-04-2003, 12:14 PM#4
Bl4ck1E
Anyone? :(
08-04-2003, 12:20 PM#5
Earth-Fury
ofset is X-Y, so | by - (as i recall) now ofset it by say 30 iu nthe direction of the units facing, thencopy that and chanye the --- so that they move in a line, ajusting the | to make it so that tye are always the same sistance, think of it as a circle in a circle, witout ajustign the oouter circle, it is parralel to the inner one.
08-04-2003, 01:36 PM#6
Bl4ck1E
Quote:
Originally posted by Earth-Fury
ofset is X-Y, so | by - (as i recall) now ofset it by say 30 iu nthe direction of the units facing, thencopy that and chanye the --- so that they move in a line, ajusting the | to make it so that tye are always the same sistance, think of it as a circle in a circle, witout ajustign the oouter circle, it is parralel to the inner one.


???
08-04-2003, 02:00 PM#7
Earth-Fury
check my offset tutorial. thats the basics. use polar offsets, and count the small grid spaces from ur guy to the next flame in the line
08-04-2003, 02:37 PM#8
Bl4ck1E
Quote:
Originally posted by Earth-Fury
check my offset tutorial. thats the basics. use polar offsets, and count the small grid spaces from ur guy to the next flame in the line


By using what angle? I tried

Special Effect - Create a special effect at ((Position of f_wall_caster2) offset by 40.00 towards ((Facing of f_wall_caster2) - 90.00) degrees) using specialefect.mdl

and

Special Effect - Create a special effect at ((Position of f_wall_caster2) offset by 40.00 towards ((Facing of f_wall_caster2) + 90.00) degrees) using specialeffect.mdl


But that didn't seem to work
08-04-2003, 02:46 PM#9
Earth-Fury
Get on irc and ill try and explain..