Skip to main content

game_zone_player

game_zone_player icon
Brush entity

A game_zone_player counts the players inside and outside its brush when you trigger it, and fires a target for each of them. Spectators count neither as inside nor as outside.

Attributes​

KeyDescriptionDefault
Nametargetname

Triggering the entity counts the players. See Common keys.

Mastermaster

Names a master, and while the master is off, triggering the entity does nothing.

Target for IN playersintarget

Names the entities to trigger once for each player inside the brush, and passes on that player as the activator.

Target for OUT playersouttarget

Names the entities to trigger once for each player outside the brush, and passes on that player as the activator.

Counter for IN playersincount

Names the entities that get the number of players inside the brush, with the use type Set, so a game_counter or a game_number takes it as its value.

Counter for OUT playersoutcount

Names the entities that get the number of players outside the brush, with the use type Set.

See also​

Changes since 1.38​

  • Spectators count neither as inside nor as outside. In SBO 1.38, they counted like the other players