Generic Keyvalues, Inputs and Outputs/Inputs: Difference between revisions
Jump to navigation
Jump to search
1416006136 (talk | contribs) m (delete a line of space on the template page) |
m (AddOutput syntax example correction: Missing input) |
||
Line 16: | Line 16: | ||
// Format of adding an Output: "AddOutput {targetname}:{inputname}:{parameter}:{delay}:{max times to fire, -1 means infinite}" | // Format of adding an Output: "AddOutput {targetname}:{inputname}:{parameter}:{delay}:{max times to fire, -1 means infinite}" | ||
//// Raw text: | //// Raw text: | ||
"OnUser1" "!self:SetParent:!activator:0.0:-1" | "OnUser1" "!self,AddOutput,OnUser1:SetParent:!activator:0.0:-1" | ||
// Arguments can be left blank, but the empty blank should still be contained. | // Arguments can be left blank, but the empty blank should still be contained. | ||
//// Raw text: | //// Raw text: | ||
"OnUser1" "!self:ClearParent::0.0:-1" | "OnUser1" "!self,AddOutput,OnUser1: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.}} |