Env player blocker: Difference between revisions
Jump to navigation
Jump to search
Note:Examples of its use can be found in L4D1 Authoring Tools SDK content, such as the l4d_airport03_garage.vmf crescendo event.
mNo edit summary |
m (Add internal names of keyval keys) |
||
| Line 3: | Line 3: | ||
== Keyvalues == | == Keyvalues == | ||
{{KV|Mins|vector}} | {{KV|Mins|intn=boxmins|vector}} | ||
{{KV|Maxs|vector}} | {{KV|Maxs|intn=boxmaxs|vector}} | ||
An outlined box is displayed in Hammer 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|intn=initialstate|choices|Initial state of the blocker}} | ||
:* 0 : Disabled | :* 0 : Disabled | ||
:* 1 : Enabled | :* 1 : Enabled | ||
{{KV|Blocks|choices|What should be blocked}} | {{KV|Blocks|intn=BlockType|choices|What should be blocked}} | ||
:* 0 : Everyone | :* 0 : Everyone | ||
:* 1 : Survivors | :* 1 : Survivors | ||
Revision as of 07:55, 17 March 2021
Template:L4d series point It blocks any PC/NPC from entering of the specified type.
Keyvalues
- Mins (boxmins) <vector>
- Maxs (boxmaxs) <vector>
An outlined box is displayed in Hammer when Mins/Maxs are specified.
- Initial State (initialstate) <choices>
- Initial state of the blocker
- 0 : Disabled
- 1 : Enabled
- Blocks (BlockType) <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.
parentnameortarget).
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