Is there an entity that gives an output to when everybody dies?
And is it possible for it to trigger only when every player has no more lives?
Output for when everybody dies?
Tied brush entities like game_player_zone and more likely trigger_player_count should help.
Also look at:
logic_player_branch and logic_player_proxy.
Also look at:
logic_player_branch and logic_player_proxy.
'I would probably smarten up before you meet Violet'.
'She has zero tolerance for idiots'.
fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database
'She has zero tolerance for idiots'.
fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database
Found a way, soloution for anyone else:
Make a trigger_player_count in the area that the players are supposed to be, or just make it the size of your map.
Make a math_counter and set its max value to something like 100 (you cant have that many players in Source yet)
Make it's initial value to 0.
With the outputs, add OnPlayerEntered, YourMathCounter, Add, 1
Also add OnPlayerLeave, YourMathCounter, Subtract, 0
This will trigger the math counter everytime you die, if its only you in the server, or everybody dies and is forced into spectator, it is also triggered.
Make a trigger_player_count in the area that the players are supposed to be, or just make it the size of your map.
Make a math_counter and set its max value to something like 100 (you cant have that many players in Source yet)
Make it's initial value to 0.
With the outputs, add OnPlayerEntered, YourMathCounter, Add, 1
Also add OnPlayerLeave, YourMathCounter, Subtract, 0
This will trigger the math counter everytime you die, if its only you in the server, or everybody dies and is forced into spectator, it is also triggered.
Nice, handy to know.
A real challenge is getting a singleplayer to spawn somewhere else on death and still keep the original spawn (info_p_dm) for new players that could possibly join server, Ala jailbreak.
It seems that info_player_teleport_destination or something is the only crapy way long winded way.
I wish info_player_starts were much more dynamic with I/Os I guess it goes all the way back to quake engine.
Stuff can be done with triggers but its just long winded.
A real challenge is getting a singleplayer to spawn somewhere else on death and still keep the original spawn (info_p_dm) for new players that could possibly join server, Ala jailbreak.
It seems that info_player_teleport_destination or something is the only crapy way long winded way.
I wish info_player_starts were much more dynamic with I/Os I guess it goes all the way back to quake engine.
Stuff can be done with triggers but its just long winded.
'I would probably smarten up before you meet Violet'.
'She has zero tolerance for idiots'.
fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database
'She has zero tolerance for idiots'.
fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database