first off, this is my first post here, but i'm not a complete noob. been mapping source for 6 months or so now, but i mapped for Q3 for a few years before that and found the transition really easy.
i'm making a map for zombie master (http://www.zombiemaster.org) and i need to know if there is an entity, or a combination of them to trigger a round restart when the number of players has reached one.
if you dont know what ZM is, think of it in terms of counterstrike. say there's only one terrorist and one CT left in the map. this would trigger a round end.
the way it is in ZM, is that there is a human team and then a ZM, one player who controls all zombie NPCs. the problem i have is that to complete the mission, you need two people to do a two person retinal scan, so i'd like the round to automatically restart if the player number gets down to one.
i do know a very hard way to do this though... with the ZM FGD there is an entity that can trigger an event if a certain percentage of the players are within it's area. so what i COULD do is make a million of the same 64x64 trigger brushes(small enough to where only one player could fit inside it) that each tell the round to end if 100% of the players in the game are in one of them. meaning if the last player (being 100% of the alive players) would trigger one of these to cause the humans to lose that round.
just wondering if there's a simple way. im sure there is, i just cant seem to find anything that sounds like it in the SDK docs.