Topic: Need help with footmen warz trigger

Hi there! I need help with a footmen warz trigger in which u lose the game if your base is destroyed. I need a trigger that makes it so that no matter what base you have u lose. Like the only way i kno how to do this is if i was to make a trigger for every base some one could have for each player. for instance the trigger would be

event-a unit owned by player 1 red dies
condition- triggering unit equal to (Example)town hall
action- show player 1 red the message defeat!

but if i do this trigger i got to make a new trigger with the condition being a tree of life instead of town hall, or a orc base or undead base, and also upgraded bases. So if i do this trigger it would take me for ever, does any one know  a better trigger that will help?:puzzled:

thanx in advance:link: