XmonstersLeft v1.0
Author: TheDane
Website:
http://www.unrealtournament.infoDescription:
This trigger is made for the MonsterHunt gamestyle and is tested as such only, it may or may not work in maps for other gamestyles – trial and error will be the judge of that haha, good luck!
This trigger will monitor the numbers of monsters (ScriptedPawn subclasses). Once it reaches the amount of monsters left you have defined it triggers the event. You can assign a sound clip to be played when the trigger is actived and also a messgae that will be broadcasted to all players. The trigger can be used in lots of combinitions, therefore I've included a log feature so you can study the log file and see if your triggers are behaving as they are suposed to. The trigger can also be used to auto-trigger the EndGame() function so that your players doesn't have to run arround and look for the end trigger in the map, in fact you won't need any end trigger in your map if you use this trigger to end the game.
Let's look at the settings for this trigger:
bLogEvent: Set to true for writing to the servers log when the trigger is activated.
bTriggerEndGame: Set to true to have the trigger control the EndGame().
EventSound: Add the soundclip to be played when activated (or leave empty for no sound).
LogMessage: Usefull to let you know exactly what trigger is activated.
Message: Message that gets broadcasted to players when activated (if not left empty).
NumMonstersLeft: Trigger will activate when the number of monsters is <= this value.
Enjoy!!