Env global (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Added entity page)
 
m (Removed back link to List of HL1 entities (link exists in template))
Line 1: Line 1:
{{back|List of HL1 entities}}
{{GoldSource base point|env_global}}
{{GoldSource base point|env_global}}



Revision as of 05:16, 30 July 2017

Template:GoldSource base point

Description

The env_global entity will set a global state which persists between map. It's useful for having events happen in one map after something have been activated in another.

Key values

Global State to Set <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 this env_global have been activated.
Trigger Mode <integer>
  • 0 : Off
  • 1 : On
  • 2 : Dead
  • 3 : Toggle
Initial State
  • 0 : Off
  • 1 : On
  • 2 : Dead

Spawnflags

  • 1 : Set Initial State