HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Trouble with transport triggers, please help

08-20-2004, 01:21 AM#1
Lil Blue Smurf
Is there a way to do one of the following:
1. Make it so that when a transport is killed, all unit in it are also killed.
or
2. Is there a way to reference the units that were in the dying transport?

I tried set tempunitgroup = units matching ( unit is loaded in (dying unit) equal to true) but that doesn't seem to work. I have a feeling this is going to be one of those really easy "just click this one" or else be extremely difficult.... I am really hoping it is the first.
08-20-2004, 02:37 AM#2
LegolasArcher
This is abit round about, and you should clean up the location leak with JASS, but it seems to work. If it helped, please leave rep.
08-20-2004, 03:00 AM#3
Lil Blue Smurf
That doesn't seem to work....

What causes units to get dizzy? I am using a custom cargo hold, and cargo hold... I tried adding cargo hold death to the transport but that didn't seem to add the dizzy when it died.

Edit: okay, I just did a unit load > custom value = x
when unit dies, pick units in range with custom value x and kill.... good thing I don't need custom values on those guys :)
08-20-2004, 03:01 PM#4
LegolasArcher
With atleast the zeppilin cargo hold, I checked what buffs are added, and "Dizzy" is add when unit's are ejected because of it's death. If you base your cargo hold off of the zepplins, you should still get the buff.