Env global: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(don't know why when there's a kv doing the same thing, but hey...)
Line 2: Line 2:
==Entity Description==
==Entity Description==
An entity to control a game-specific global states, it can be used to force the [[weapon_physcannon|gravity gun]] to become the super gravity gun among other things.
An entity to control a game-specific global states, it can be used to force the [[weapon_physcannon|gravity gun]] to become the super gravity gun among other things.
For this entity to take effect from the map's start, the '''Set Initial State''' flag must be checked.
==Keyvalues==
==Keyvalues==
* {{kv targetname}}
* {{kv targetname}}
* '''initialstate'''
* '''initialstate'''

Revision as of 14:44, 5 June 2007

Template:Wrongtitle

Entity Description

An entity to control a game-specific global states, it can be used to force the gravity gun to become the super gravity gun among other things.

For this entity to take effect from the map's start, the Set Initial State flag must be checked.

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
"ep2_alyx_injured" Episode 2: Alyx injured
"ep_alyx_darknessmode" Episodic: Alyx darkness mode

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