Env global: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
Line 17: Line 17:
* '''globalstate'''
* '''globalstate'''
: <string> Global State to Set
: <string> Global State to Set
::Here's some Half-Life 2 globals:
::{|
::{|
! Literal Value || Description
! Literal Value || Description
Line 35: Line 34:
| "no_seagulls_on_jeep" || Don't spawn seagulls on the jeep
| "no_seagulls_on_jeep" || Don't spawn seagulls on the jeep
|}
|}
==Inputs==
==Inputs==
* {{i targetname}}
* {{i targetname}}

Revision as of 18:13, 19 January 2006

Template:Wrongtitle

Entity Description

An entity to control a game-specific global states.

Keyvalues

<choices> Initial State
Literal Value Description
0 Off
1 On
2 Dead
  • globalstate
<string> Global State to Set
Literal Value Description
"gordon_precriminal" Gordon pre-criminal
"antlion_allied" Antlions are player allies
"suit_no_sprint" Suit sprint function not yet enabled
"super_phys_gun" Super phys gun is enabled
"friendly_encounter" Friendly encounter sequence (lower weapons, etc.)
"gordon_invulnerable" Gordon is invulnerable
"no_seagulls_on_jeep" Don't spawn seagulls on the jeep

Inputs

Set state of global to ON.
  • TurnOff
Set state of global to OFF.
  • Toggle
Toggles state of global between ON and OFF.
  • Remove
Set state of global to DEAD.

Outputs