Env player blocker: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 5: Line 5:
{{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.
An outlined box is displayed in Hammer 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:23, 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>

An outlined box is displayed in Hammer 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