ProtoFlux:Fire On False

From Resonite Wiki
Revision as of 01:32, 18 February 2024 by ProbablePrime (talk | contribs)
Fire On False
OnlyForUser
OnChanged
Condition
Flow
Using this node a Local User node can cause performance issues as every user in the session will output impulses. Instead use a Local Fire On False node.
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 turn 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).

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.