Template:O: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
| caller = caller of GetValue input
| caller = caller of GetValue input
|Fired in response to the <code>GetValue</code> input; used when you don't want constant updates from the <code>OutValue</code> output.<br>If the Target Input's parameters is left empty, the math_counter's value is used. {{tip|Useful for entities such as: {{ent|logic_case}},{{ent|math_remap}},{{ent|logic_compare}}.}} |param=float}}
|Fired in response to the <code>GetValue</code> input; used when you don't want constant updates from the <code>OutValue</code> output.<br>If the Target Input's parameters is left empty, the math_counter's value is used. {{tip|Useful for entities such as: {{ent|logic_case}},{{ent|math_remap}},{{ent|logic_compare}}.}} |param=float}}
{{O|OnUnblockedClosing| activator = !caller = !self|caller=0
|Fired when the door is no longer blocked from closing.}}


== See also ==
== See also ==
Line 26: Line 29:
-->{{#if: {{{activator|}}}{{{caller|}}}  
-->{{#if: {{{activator|}}}{{{caller|}}}  
  | <small style="color:gray"><kbd>!activator</kbd> = {{{activator}}}</small><!--
  | <small style="color:gray"><kbd>!activator</kbd> = {{{activator}}}</small><!--
--><br><small style="color:gray"><kbd>!caller</kbd> = {{{caller|same as !self}}}</small><br>}}<!--
-->{{#ifeq:{{{caller|}}}|0||<br><small style="color:gray"><kbd>!caller</kbd> = {{{caller|same as !self}}}</small>}}<br>}}<!--
-->{{#if: {{{2|}}} | {{{2}}}}}<!--
-->{{#if: {{{2|}}} | {{{2}}}}}<!--
--></onlyinclude>
--></onlyinclude>


</includeonly>
</includeonly>

Revision as of 00:29, 22 April 2025

OnUser1
!activator = activator of FireUser1 input
!caller = same as !self
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}}