ProtoFlux:Fire On False: Difference between revisions

From Resonite Wiki
add template, standardize
new template to follow how the node works.
 
(18 intermediate revisions by 4 users not shown)
Line 9: Line 9:
|Outputs=
|Outputs=
[
[
{"Name": "OnChanged", "Type":"Impulse"}
{"Name": "OnChanged", "Type":"Call"}
]
]
|}}
|}}


{{Template:Basic Fire On Information|Fire On False|turns <code>False</code>|the OnlyForUser ([[Type:User|User]]) provided}}


== Inputs ==
== Inputs ==


=== OnlyForUser ([[Type:User|User]]) ===  
=== OnlyForUser ([[Type:User|User]]) ===


The [[Type:User|User]] that should monitor the provided Condition ([[Type:Bool|bool]]) every game tick.
The [[Type:User|User]] that should monitor the provided Condition ([[Type:Bool|bool]]).


=== Condition ([[Type:Bool|bool]]) ===
{{Template:Fire On True/False |false}}


The [[Type:Bool|bool]] that should be monitored by the provided OnlyForUser ([[Type:User|User]]) every game tick.
=== Condition ([[Type:Bool|bool]]) ===
 
The [[Type:Bool|bool]] that should be monitored by the provided OnlyForUser ([[Type:User|User]]).


== Outputs ==
== Outputs ==


=== OnChanged (Continuation) ===
=== OnChanged ([[Impulses|Call]]) ===


Fires when the provided OnlyForUser ([[Type:User|User]]) sees the provided Condition ([[Type:Bool|bool]]) turn false.
Fires when the provided OnlyForUser ([[Type:User|User]]) sees the provided Condition ([[Type:Bool|bool]]) turn false.
== See Also ==
* [[ProtoFlux:Fire On True]]
* [[ProtoFlux:Fire On Change]]


[[Category:ProtoFlux:Flow]]
[[Category:ProtoFlux:Flow]]

Latest revision as of 10:35, 18 March 2025

Fire On False
OnlyForUser
OnChanged
Condition
Flow


Inputs

OnlyForUser (User)

The User that should monitor the provided Condition (bool).

Determining the Owner of the Impulse

When this node is used the user who fires the impulse is determined using the following steps:

  1. If the OnlyForUser (User) property is not null only fire for this user.
  2. If the Node is parented under a User, fire only for that user.
  3. Otherwise fire for whoever changed the value to false.

Condition (bool)

The bool that should be monitored by the provided OnlyForUser (User).

Outputs

OnChanged (Call)

Fires when the provided OnlyForUser (User) sees the provided Condition (bool) turn false.

See Also