Env global

It controls game-specific global states, such as whether the gravity gun should become super-charged.

Global states persist across level changes (when done with or ), regardless of their status. Global states are not stored until an  receives any commands that modify the state, such as turning it on or off, or changing the counter. Use the Set Initial State flag for the setting to be added when the map loads.

Can be used in multiplayer games to store info across rounds (other entities will reset to their values set in Hammer). This also includes across maps.

Globals and their current state (in integer form) are added to all entities' response data for use in the.