Generic Keyvalues, Inputs and Outputs/Inputs: Difference between revisions
Jump to navigation
Jump to search
(doc page migration. SetTeam / TeamNum inputs are yet to be migrated. Template changes: DispatchEffects removed note now is hidden if base is active; Fixed AS keyvalues being represented as Portal2 param (latter not fully removed);resorted some keys) |
m (resorted some keys again) |
||
Line 1: | Line 1: | ||
<includeonly>{{minititle|Base}} | <includeonly>{{minititle|Base}} | ||
{{IO|[[AddOutput]]|Evaluates a keyvalue/output on this entity. <br/>Format: <code><key> <value></code><br/>Format: <code><output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire, -1 means infinite></code>|param=string}} | |||
{{IO|Kill|Removes this entity and any entities parented to it from the world.}} | {{IO|Kill|Removes this entity and any entities parented to it from the world.}} | ||
{{IO|KillHierarchy|Functions the same as <code>Kill</code>, although this entity and any entities parented to it are killed on the same frame, being marginally faster than <code>Kill</code>.}} | {{IO|KillHierarchy|Functions the same as <code>Kill</code>, although this entity and any entities parented to it are killed on the same frame, being marginally faster than<code>Kill</code>input.}} | ||
{{IO|SetParent|Move with this entity. See [[Entity Hierarchy (parenting)]].|param=string}} | {{IO|SetParent|Move with this entity. See [[Entity Hierarchy (parenting)]].|param=string}} | ||
{{IO|SetParentAttachment|Change this entity to attach to a specific [[attachment]] point on its parent. The entity will teleport so that the position of its root [[bone]] matches that of the attachment. Entities must be parented before being sent this input.|param=string}} | {{IO|SetParentAttachment|Change this entity to attach to a specific [[attachment]] point on its parent. The entity will teleport so that the position of its root [[bone]] matches that of the attachment. Entities must be parented before being sent this input.|param=string}} | ||
{{IO|SetParentAttachmentMaintainOffset|As above, but without teleporting. The entity retains its position relative to the attachment at the time of the input being received.|param=string}} | {{IO|SetParentAttachmentMaintainOffset|As above, but without teleporting. The entity retains its position relative to the attachment at the time of the input being received.|param=string}} | ||
{{IO|ClearParent|Removes this entity from the the movement hierarchy, leaving it free to move independently.}} | {{IO|ClearParent|Removes this entity from the the movement hierarchy, leaving it free to move independently.}} | ||
{{IO|FireUser1|to=FireUser4|Fire the <code>OnUser</code> outputs; see [[User Inputs and Outputs]].}} | {{IO|FireUser1|to=FireUser4|Fire the <code>OnUser</code> outputs; see [[User Inputs and Outputs]].}} | ||
{{IO|AddContext|Adds to the entity's list of [[Response System|response contexts]]. Format is <code><key>:<value></code>.|param=string}} | {{IO|AddContext|Adds to the entity's list of [[Response System|response contexts]]. Format is <code><key>:<value></code>.|param=string}} | ||
{{IO|RemoveContext|Remove a context from this entity's list. The name should match the key of an existing context.|param=string}} | {{IO|RemoveContext|Remove a context from this entity's list. The name should match the key of an existing context.|param=string}} | ||
Line 16: | Line 15: | ||
|{{IO|DispatchEffect|Dispatches a special effect from the entity's origin. Removed and replaced entirely by the [[particle]] system since {{l4d}}.|param=string|removed={{l4d}}|nofgd=1}} | |{{IO|DispatchEffect|Dispatches a special effect from the entity's origin. Removed and replaced entirely by the [[particle]] system since {{l4d}}.|param=string|removed={{l4d}}|nofgd=1}} | ||
}} | }} | ||
{{IO|DispatchResponse|Dispatches a response to the entity. See [[Response]] and [[Concept]].|param=string|nofgd=1}} | |||
{{IO|Use|Same as a player invoking [[+use]]; may not do anything. Can also be invoked by creating an output that does not specify an input.<br /> This input is not included in Valve's [[FGD]]s.|nofgd=1}} | {{IO|Use|Same as a player invoking [[+use]]; may not do anything. Can also be invoked by creating an output that does not specify an input.<br /> This input is not included in Valve's [[FGD]]s.|nofgd=1}} | ||
<!-- | <!-- |