Template:O/doc

From Valve Developer Community
< Template:O
Revision as of 00:39, 22 April 2025 by Nescius (talk | contribs) (Created page with "*{{param|activator}} - adds little grey text starting with <code>!activator = {{{activator}}}</code> *{{param|caller}} - adds little grey text starting with <code>!caller = {{{caller|}}}</code> if activator is specified and caller is not this defaults to <code>same as !self</code>, if caller=hide this won't be shown {{O|OnUser1| activator = activator of FireUser1 input |Fired in response to FireUser1 input}} {{O|OnGetValue| activator = activator of GetValue input | cal...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  • {{{activator}}} - adds little grey text starting with !activator = {{{activator}}}
  • {{{caller}}} - adds little grey text starting with !caller = if activator is specified and caller is not this defaults to same as !self, if caller=hide this won't be shown


OnUser1
!activator = activator of FireUser1 input
!caller = this entity
Fired in response to FireUser1 input


OnGetValue <float>
!activator = activator of GetValue input
!caller = caller of GetValue input
Fired in response to the GetValue input; used when you don't want constant updates from the OutValue output.
If the Target Input's parameters is left empty, the math_counter's value is used.
Tip.pngTip:Useful for entities such as: logic_case,math_remap,logic_compare.


OnUnblockedClosing
!activator = !caller = !self
Fired when the door is no longer blocked from closing.

See also

  • {{I}}