Env player blocker: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with '{{l4d2 point|env_player_blocker}} {{stub}} == Entity description == An entity which blocks any PC/NPC from entering of the specified type. == Keyvalues == * {{KV Targetname}} *…')
 
(Reformat)
Line 1: Line 1:
{{l4d2 point|env_player_blocker}}
{{l4d2 point|env_player_blocker}} It blocks any PC/NPC from entering of the specified type.
{{stub}}
 
== Entity description ==
An entity which blocks any PC/NPC from entering of the specified type.


== Keyvalues ==
== Keyvalues ==
* {{KV Targetname}}
{{KV|Mins|vector}}
* {{ScrollBox|title=mins|
{{KV|Maxs|vector}}
; Mins <code><[[vector]]></code>
{{KV|Initial State|choices|Initial state of the blocker}}
}}
:* 0 : Disabled
* {{ScrollBox|title=maxs|
:* 1 : Enabled
; Maxs <code><[[vector]]></code>
{{KV|Blocks|choices|What should be blocked}}
}}
:* 0 : Everyone
* {{ScrollBox|title=initialstate|
:* 1 : Survivors
; Initial State <code><choices></code>
:* 2 : Player Infected
}}
:* 3 : All Special Infected (Player and AI)
* {{ScrollBox|title=BlockType|
{{KV Targetname}}
; Blocks <code><choices></code>
}}


== Inputs ==
== Inputs ==
{{IO|Enable|Enables the Blocker}}
{{IO|Disable|Disables the Blocker}}
{{I Targetname}}
{{I Targetname}}
{{I EnableDisable}}


== Outputs ==
== Outputs ==
{{O Targetname}}
{{O Targetname}}
== See also ==
== External links ==

Revision as of 03:44, 12 August 2011

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

Keyvalues

Mins ([todo internal name (i)]) <vector>
Maxs ([todo internal name (i)]) <vector>
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