Difference between revisions of "Game zone player"
(Import of converted entguide pages from Sven Manor.) |
Outerbeast (talk | contribs) m (Grammer fix) |
||
Line 10: | Line 10: | ||
{{Entity_keyvalue|Target for IN players|intarget|Target to trigger for every player who is within the game_zone_player entity when triggered, individually.}} | {{Entity_keyvalue|Target for IN players|intarget|Target to trigger for every player who is within the game_zone_player entity when triggered, individually.}} | ||
{{Entity_keyvalue|Target for OUT players|outtarget|Target to trigger for every player who is outside of the game_zone_player entity when triggered, individually.}} | {{Entity_keyvalue|Target for OUT players|outtarget|Target to trigger for every player who is outside of the game_zone_player entity when triggered, individually.}} | ||
− | {{Entity_keyvalue|Counter for IN players|incount|Name of one or more game_counter entities | + | {{Entity_keyvalue|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.}} |
− | {{Entity_keyvalue|Counter for OUT players|outcount|Name of one or more game_counter entities | + | {{Entity_keyvalue|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.}} |
== Flags == | == Flags == | ||
Line 19: | Line 19: | ||
== Issues == | == Issues == | ||
− | Gibbed players are always | + | Gibbed players are always ignored. |
Latest revision as of 01:48, 3 April 2023
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.