Infra corruption target: Difference between revisions
Jump to navigation
Jump to search
(Created page with "File:Infra corruption target.png {{INFRA}} '''infra_corruption_target''' is a point entity available in INFRA. == Entity Description == It creates a corruption t...") |
Deprecated (talk | contribs) m (Changed to use INFRA point template) |
||
Line 1: | Line 1: | ||
[[File:Infra corruption target.png]] | [[File:Infra corruption target.png]] | ||
{{INFRA}} | {{INFRA point|infra_corruption_target}} | ||
== Entity Description == | == Entity Description == | ||
Line 22: | Line 22: | ||
{{IO|OnTriggered|Fired when this is triggered.}} | {{IO|OnTriggered|Fired when this is triggered.}} | ||
{{O Targetname}} | {{O Targetname}} | ||
Revision as of 11:51, 25 May 2019
Entity Description
It creates a corruption target which can be triggered. Typically intended to be used with infra_document to create a readable or photographable corruption piece. Plays a satisfying sound when triggered.
Keyvalues
- Triggered by Photograph ([todo internal name (i)]) <boolean>
- Can this corruption target also be triggered by taking a photo of it?
- Needs Player Nearby ([todo internal name (i)]) <boolean>
- Can this corruption target only be triggered if the player is nearby? Doesn't affect photographing, only the Trigger input.
- Maximum Range ([todo internal name (i)]) <float>
- A picture of this target is only considered successful if the player is within this range of the entity. Set to zero or less for infinite range.
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
Parentname:
- Parent (parentname) <targetname>
- Specifies a movement parent. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.
- Pitch Yaw Roll (Y Z X) (angles) <QAngle>
- This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
- Start Disabled (StartDisabled) <boolean>
- Stay dormant until activated (with the
Enable
input).
Inputs
- Trigger
- Marks this corruption target as 'solved'. Doesn't do anything if it's disabled or if it has been previously triggered.
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
Outputs
- OnTriggered
- Fired when this is triggered.