HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

help with shortening triggs

07-21-2003, 06:30 PM#1
|)@rk-Revenant
I have a group of triggs like this that i need to know how to make em 1 trig

Events: (light laser) comes within range of (ship 1)
Conditions: None
Actions: kill (entering unit)
set (life of (ship 1)) to (life of ((ship 1) - .25))

If you can tell me my really sweet map will be out sooner. If theres a function or some group of triggers that i dont know about that can do this, please tell me.
07-21-2003, 07:01 PM#2
FyreDaug
That trigger is short as it is, I dont understand what you are trying to do?
07-22-2003, 08:58 AM#3
Krakou
His trigger works for 2 specific units, (light laser vs ship 1) I think he wants a generic trigger for any unit.

If I am not wrong the event unit comes within range of (unit) cannot use a variable as unit. Only one of the 2 units can be a variable.

Event
A unit comes within range of (ship 1)
Cond
Triggering unit equal to (UnitVariable)
Action
...