Template:O/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
*{{param|activator}} - adds little grey text starting with <code>!activator = {{{activator}}}</code> | *{{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 | *{{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 | ||
*{{param|ac-is-self}} - if specified then activator/caller params are ignored and grey text will say <code>!activator = !caller = !self</code> | |||
* other params identical to [[Template:I]] | * other params identical to [[Template:I]] | ||
Revision as of 02:09, 24 April 2025
- {{{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 tosame as !self
, if caller=hide this won't be shown - {{{ac-is-self}}} - if specified then activator/caller params are ignored and grey text will say
!activator = !caller = !self
- other params identical to Template:I
- 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 theGetValue
input; used when you don't want constant updates from theOutValue
output.
If the Target Input's parameters is left empty, the math_counter's value is used.Tip:Useful for entities such as: logic_case,math_remap,logic_compare.
- OnUnblockedClosing
- !activator = !caller = this entity
Fired when the door is no longer blocked from closing.
See also
- {{I}}