ok i realise its an old game but its still one i play from time to time.

Im trying to make a custom campaign using the scenario editor and the one thing im stuck on is how to make triggers and effects. For instance if in the objectives it says darth vader must live how do i set the trigger so that if he dies the controlling player automatically loses. Just general stuff like that the rest i have figured out how to do its just triggers and effects that has me truly stumped.

Anyone who plays the game (or the engine that created it age of empires 2) know how to do this? Or even better know where i can get an FAQ on how to use it?