HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Trigger

08-06-2003, 05:13 PM#1
Malganis
why dosen´t this trigger work


Event - Unit owned by (owner of the buildings) dies

Condition - Units in (playable map) owned by player 2 equals to 0

Condition - (triggering unit) is a structure Equal to true

Action -cinematic

thanks;)
08-06-2003, 05:19 PM#2
Draco
I don't think you can use triggering unit, and that function may count dead units as well. Use a boolean, like units alive equal to false.
08-06-2003, 06:24 PM#3
Neo_Genesis
the reason it prolly doesnt work is becuase of the first line

Quote:
Event - Unit owned by (owner of the buildings) dies


You cannot use owner of the buildings in an event statment

What you want is prolly

Events
Unit - A unit owned by Player 1 (Red) Dies
Condition
(Number of units in (Units owned by player 1 (Red) matching (((Matching units) is alive) Equal to True))) equal to 0
Actions
your actions here

That should do it for you

Neo_Genesis