event
a unit dies
conditions
or, and:
triggering unit = main building
actions
pick all units owned by(owner of (triggering unit)) and kill picked unit
messege to all (name of(owner of(triggering unit)))+ has been defeated!
The problem is that it doesnt work anymore,, it worked before, but now it stopped. Anyone knows why?
...... maybe you changed the main building unit and didnt change the condition to the new unit... else... i could take a look at it if youd give it to me ;-)
In the "Trigger Editor" select your trigger.
In the right window ("Trigger Functions:") select the top of the trigger code (right above events).
Next open the "Edit Menu" and select "Copy as Text" (Ctrl+Shift+C).