ProtoFlux:Fire On False: Difference between revisions

From Resonite Wiki
m ProbablePrime moved page Fire On False (ProtoFlux) to ProtoFlux:Fire On False: Creating protoflux Namespace
add template, standardize
Line 13: Line 13:
|}}
|}}


Will fire a simple impulse when the value is changed to <code>false</code>.
{{Template:Basic Fire On Information|Fire On False|turns <code>False</code>|the OnlyForUser ([[Type:User|User]]) provided}}
 
== Inputs ==
 
=== OnlyForUser ([[Type:User|User]]) ===
 
The [[Type:User|User]] that should monitor the provided Condition ([[Type:Bool|bool]]) every game tick.
 
=== Condition ([[Type:Bool|bool]]) ===
 
The [[Type:Bool|bool]] that should be monitored by the provided OnlyForUser ([[Type:User|User]]) every game tick.
 
== Outputs ==
 
=== OnChanged (Continuation) ===
 
Fires when the provided OnlyForUser ([[Type:User|User]]) sees the provided Condition ([[Type:Bool|bool]]) turn false.


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

Revision as of 19:36, 3 February 2024

Fire On False
OnlyForUser
OnChanged
Condition
Flow
Using this node with Local User or no user input may cause undesired outcomes.

Fire On False Nodes will only fire if the OnlyForUser (User) provided has seen the value on their local machine turns False.

When this node triggers from the OnlyForUser (User) provided it can be used to execute code that requires the impulse be from a specific user. This is useful for things like:

  • changing world properties
  • physics
  • cloud variables
  • other Local User sensitive nodes.

Inputs

OnlyForUser (User)

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

Condition (bool)

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

Outputs

OnChanged (Continuation)

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