Detect waiting for players state

henke37

aa
Sep 23, 2011
2,075
515
So I want to detect when the game is waiting for players and haven't properly begun the round yet. How can I do this?

I managed to swipe the entity name "zz_teamplay_waiting_timer" from the console, but my attempts at taking advantage of it did not pan out.
 

Da Spud Lord

Occasionally I make maps
aa
Mar 23, 2017
1,339
994
Since gamemode entities don't do anything in the waiting for players period, you could take advantage of those to set up a relay upon round start, and then kill that relay if the gamemode entities are responding. What gamemode are you mapping for?
 

Izotope

Sourcerer
aa
May 13, 2013
698
764
if you give that entity a targetname via addoutput and then type ent_fire <name> it should reveal all inputs this entity accepts.
 

henke37

aa
Sep 23, 2011
2,075
515
I am pretty sure that it's just a team_round_timer, the I/O I overhear makes that much clear.
 

ficool2

L4: Comfortable Member
Oct 28, 2017
161
232
I need an answer for this too, if someone uses a game_ui during the waiting for players state it crashes the server, so I need a way to kill those entities in the waiting for players state