Infra corruption target: Difference between revisions
Jump to navigation
Jump to search
Deprecated (talk | contribs) m (Changed to use INFRA point template) |
m (Substituted IO templates) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[File:Infra corruption target.png]] | [[File:Infra corruption target.png]] | ||
{{INFRA | {{this is a|point entity|game=INFRA|name=infra_corruption_target}} | ||
== Entity Description == | == Entity Description == | ||
Line 15: | Line 15: | ||
== Inputs == | == Inputs == | ||
{{ | {{I|Trigger|Marks this corruption target as 'solved'. Doesn't do anything if it's disabled or if it has been previously triggered.}} | ||
{{I Targetname}} | {{I Targetname}} | ||
{{I EnableDisable}} | {{I EnableDisable}} | ||
== Outputs == | == Outputs == | ||
{{ | {{O|OnTriggered|Fired when this is triggered.}} | ||
{{O Targetname}} | {{O Targetname}} |
Latest revision as of 07:54, 21 April 2025
infra_corruption_target
is a point entity available in INFRA.
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.