cs_gamerules
Class hierarchy |
---|
CCSGameRulesProxy |
cs_gamerules.cpp
|
cs_gamerules
is an entity available in Counter-Strike: Source and Left 4 Dead series. It controls game rules and logic, including which team wins due to either eliminating the other, or completing the objective.
Important:This is a preserved entity in .
- On a new round entities with this classname will intentionally not reset. You can use
logic_auto
to emulate resetting it. - Killing it removes it forever, as it is not respawned on a new round.
- It cannot be spawned with a
point_template
. - Parenting this with non preserved entities may have undesirable effects.
This entity is also present in Left 4 Dead and Left 4 Dead 2, alongside terror_gamerules with its own additional game rules.