Jump to content

Toggle Message Visibility   Welcome to our Community, Guest!

Get involved and become a part of our growing community. It's absolutely free! Register an account and join us today. Already a member? Sign in!

- - - - -

game_player_count_ow



Entity Description

This point based entity keeps track of the number of connected clients.


Key Values

  • Targetname:
    Name <targetname>
    The targetname other entities refer to this entity by.

Inputs

  • GetClientCount
    Fires this entity's OnGetClientCount.

  • GetPlayerCount
    Fires this entity's OnGetPlayerCount.

  • GetAlivePlayerCount
    Fires this entity's OnGetAlivePlayerCount.

Outputs

  • OnGetClientCount <integer>
    Fired when this entity's GetClientCount input is called. Outputs the number of all clients currently in the game.

  • OnGetPlayerCount <integer>
    Fired when this entity's GetPlayerCount input is called. Outputs the number of players currently in the player team.

  • OnGetAlivePlayerCount <integer>
    Fired when this entity's GetAlivePlayerCount input is called. Outputs the number of alive players currently in the player team.