Env player blocker: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{l4d2 point|env_player_blocker}} It blocks any PC/NPC from entering of the specified type. Examples of its use can be found in L4D1 Authoring Tools SDK content, such as the l4d_airport03_garage.vmf crescendo event.
{{l4d2 point|env_player_blocker}} It blocks any PC/NPC from entering of the specified type.
{{note|Examples of its use can be found in L4D1 Authoring Tools SDK content, such as the l4d_airport03_garage.vmf crescendo event.}}


== Keyvalues ==
== Keyvalues ==
{{KV|Mins|vector}}
{{KV|Mins|vector}}
{{KV|Maxs|vector}}
{{KV|Maxs|vector}}
A bounding box is displayed in the Hammer 3D view when Mins/Maxs are specified.
{{KV|Initial State|choices|Initial state of the blocker}}
{{KV|Initial State|choices|Initial state of the blocker}}
:* 0 : Disabled
:* 0 : Disabled

Revision as of 08:21, 27 October 2011

Template:L4d2 point It blocks any PC/NPC from entering of the specified type.

Note.pngNote:Examples of its use can be found in L4D1 Authoring Tools SDK content, such as the l4d_airport03_garage.vmf crescendo event.

Keyvalues

Mins ([todo internal name (i)]) <vector>
Maxs ([todo internal name (i)]) <vector>

A bounding box is displayed in the Hammer 3D view when Mins/Maxs are specified.

Initial State ([todo internal name (i)]) <choices>
Initial state of the blocker
  • 0 : Disabled
  • 1 : Enabled
Blocks ([todo internal name (i)]) <choices>
What should be blocked
  • 0 : Everyone
  • 1 : Survivors
  • 2 : Player Infected
  • 3 : All Special Infected (Player and AI)
Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Inputs

Enable
Enables the Blocker
Disable
Disables the Blocker


Outputs