env_global
Class hierarchy |
---|
CEnvGlobal |
buttons.cpp
|
env_global
is a point entity available in all GoldSrc games. It can set a global state which persists between maps. It's useful for having events happen in one map after something have been activated in another.
Key Values
- Global State to Set
(globalstate)
<string> - The global state which this env_global will set. Can be anything and can be used by
trigger_auto
entities to fire a target after thisenv_global
have been activated. - Trigger Mode
(triggermode)
<choices>
- 0 : Off
- 1 : On
- 2 : Dead
- 3 : Toggle
- Initial State
(initialstate)
<choices>
- 0 : Off
- 1 : On
- 2 : Dead
Flags
Set Initial State : [1]