HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

dmg triggers?

07-21-2003, 10:42 PM#1
drezman
how do u make a trigger that does a specific amount of damage?
07-21-2003, 10:48 PM#2
hodi
No doubleposts and a lil bit more Details plz, as for your other problem check out the Cinematic Forum, it´s called Fade Filter or so.
07-21-2003, 10:55 PM#3
drezman
i want a trigger that would do a specific amount of damage, like when A happens it does 25 damage to triggering unit.
07-21-2003, 11:00 PM#4
hodi
U can spawn an invisible custom unit that does 25 instant (!)damage per attack, just create this unit(on position of triggering unit) and order it to attack once and then remove (lastcreatedunit)...

edit: Or even easier, u could make a variable of the triggering units health and just let it do : life of triggering unit = (life of triggering unit - 25)
07-21-2003, 11:43 PM#5
piRo-piOn
or you can just do set life of triggering unit = life of triggering unit - 25, without any variables.
07-22-2003, 12:58 AM#6
drezman
tht doesnt work it jus kills the triggering unit
07-22-2003, 05:18 AM#7
Mr. Thermistor
>tht doesnt work it jus kills the triggering
>unit

Then you're doing something wrong.

Show the trigger you used.
07-22-2003, 05:20 AM#8
LeprechaunNinja
Yeah, it seems to me that you're having a trigger that once triggered, keeps triggering itself over and over again. Hence the instant death.
07-22-2003, 07:03 PM#9
drezman
what no, im doing set life of triggering unit=-25
07-22-2003, 07:30 PM#10
Ultramagnetic
Quote:
Originally posted by drezman
what no, im doing set life of triggering unit=-25



That's your problem right there. You're supposed to be doing

set life of targeted unit to life of targeted unit - 25.

exactly like that.
07-22-2003, 07:57 PM#11
drezman
how do u do that?
07-22-2003, 09:25 PM#12
LordAllout
Heres a screenshot
07-22-2003, 09:28 PM#13
drezman
thx, now i get it