game_zone_player

From Sven Co-op
Revision as of 01:48, 3 April 2023 by Outerbeast (talk | contribs) (Grammer fix)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
game_zone_player
Type

brush

Status

supported

 


This brush entity, when triggered, allows to trigger different entities for players, depending on whether they are inside or outside of this entity and to set the value of two different game_counter entities to the amount of players within this zone and to the amount of players outside of this zone. All targets receive same trigger state as game_zone_player received, and passes players as an '!activator'.

1 Keyvalues

Target for IN players : intarget

Target to trigger for every player who is within the game_zone_player entity when triggered, individually.

Target for OUT players : outtarget

Target to trigger for every player who is outside of the game_zone_player entity when triggered, individually.

Counter for IN players : incount

Name of one or more game_counter entities whose count values are to be set to the amount of players within the zone.

Counter for OUT players : outcount

Name of one or more game_counter entities whose count values are to be set to the amount of players outside of the zone.

2 Flags

1 : Ignore dead players

If set, dead players are skipped entirely, as if they weren't on the server in the first place.

3 Issues

Gibbed players are always ignored.