there are several ways to do this.
1. Expiration timer
if you simply want the doomguard to die if the time expires, then i would recomend adding an expiration timer with the time you want to it.
You can't get the remaining time, but sa long as you don't want that, everything is fine and btw it's nearly the fastest possible way.
2. Timer
Another way would be to start a timer, that expires after thje time you want it.
You'd need to start the timer when you spawn the doomguard and you need a trigger like
event - timer expires
action - kill doomguard
this way you can get the remaining time, but the amount of doomguards you can have is limited by the number of timers you use. you can reuse a timer but can't use it more than once at a time.
So if you only want one doomguard an want to do some special things if he grows 'older' this would be one of the, if not the, best way.
wait trigger
alternativley to creating a timer you could simply tell your trigger to wait some time and then continue.
the mayor disadvantage of this method is, that unless it's custom code, the function will be canceld if it's event triggers while the function has not finished.
I do not recoment this method outside custom script and inside it it's no nice, but sometimes a very effectiv (but slow) way to do timed things
hope this helps you
- Raszul[/b]