Generic Keyvalues, Inputs and Outputs/Inputs: Difference between revisions
Jump to navigation
Jump to search
m (brackets typo fix) |
(fix context parameters) |
||
Line 18: | Line 18: | ||
"OnUser1" "!self:ClearParent::0.0:-1" | "OnUser1" "!self:ClearParent::0.0:-1" | ||
</syntaxhighlight>| Syntax<nowiki>:</nowiki>}} | param=string }} | </syntaxhighlight>| Syntax<nowiki>:</nowiki>}} | param=string }} | ||
{{IO|ClearContext|Removes all contexts from this entity's list. | {{IO|ClearContext|Removes all contexts from this entity's list.}} | ||
{{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|Fires the respective<code>OnUser</code>outputs; see [[User Inputs and Outputs]].}} | {{IO|FireUser1|to=FireUser4|Fires the respective<code>OnUser</code>outputs; see [[User Inputs and Outputs]].}} | ||
{{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>input.}} | {{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|RemoveContext|Remove a context from this entity's list. The name should match the key of an existing context.}} | {{IO|RemoveContext|Remove a context from this entity's list. The name should match the key of an existing context.|param=string}} | ||
{{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}} |