ProtoFlux:Fire On True: Difference between revisions

From Resonite Wiki
added link to impulses
m fix type
Line 9: Line 9:
|Outputs=
|Outputs=
[
[
{"Name": "OnChanged", "Type":"Impulse"}
{"Name": "OnChanged", "Type":"Call"}
]
]
|}}
|}}
Line 27: Line 27:
== Outputs ==
== Outputs ==


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


Fires when the provided OnlyForUser ([[Type:User|User]]) sees the provided Condition ([[Type:Bool|bool]]) turn true.
Fires when the provided OnlyForUser ([[Type:User|User]]) sees the provided Condition ([[Type:Bool|bool]]) turn true.


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

Revision as of 20:14, 9 February 2024

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

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

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 (Call)

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