Env global (GoldSrc): Difference between revisions
Jump to navigation
Jump to search
Thunder4ik (talk | contribs) m (→top: clean up, replaced: {{EntityTabs → {{tabs) |
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) |
||
Line 1: | Line 1: | ||
{{tabs|env_global|goldsrc=1|source=1|main=source}} | {{tabs|env_global|goldsrc=1|source=1|main=source}} | ||
{{ | {{this is a|point entity|name=env_global|engine=GoldSrc}} 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== | ==Key Values== |
Revision as of 18:56, 17 May 2024
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:
- Global State to Set ([todo internal name (i)]) <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 ([todo internal name (i)]) <choices>
- 0 : Off
- 1 : On
- 2 : Dead
- 3 : Toggle
- Initial State ([todo internal name (i)]) <choices>
- 0 : Off
- 1 : On
- 2 : Dead
Flags
- Set Initial State : [1]