No edit summary |
m fix link |
||
Line 13: | Line 13: | ||
|}} | |}} | ||
{{Template:Basic Fire On Information|Fire On False|turn <code>False</code>|the OnlyForUser ([[Type:User|User]]) provided|[[ProtoFlux: | {{Template:Basic Fire On Information|Fire On False|turn <code>False</code>|the OnlyForUser ([[Type:User|User]]) provided|[[ProtoFlux:Fire On Local False|Fire On Local False]]}} | ||
== Inputs == | == Inputs == | ||
=== OnlyForUser ([[Type:User|User]]) === | === OnlyForUser ([[Type:User|User]]) === | ||
The [[Type:User|User]] that should monitor the provided Condition ([[Type:Bool|bool]]). | The [[Type:User|User]] that should monitor the provided Condition ([[Type:Bool|bool]]). | ||
Line 23: | Line 23: | ||
{{FireOnUserInformation}} | {{FireOnUserInformation}} | ||
=== Condition ([[Type:Bool|bool]]) === | === Condition ([[Type:Bool|bool]]) === | ||
The [[Type:Bool|bool]] that should be monitored by the provided OnlyForUser ([[Type:User|User]]). | The [[Type:Bool|bool]] that should be monitored by the provided OnlyForUser ([[Type:User|User]]). |
Revision as of 18:56, 4 July 2024
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).
For best practice, this should never be left null
or evaluated differently based on the user (e.g. via LocalUser). If this input is null
and the node is parented under a user, then the impulse will be fired for said user. If this input is null
and not parented under a user, or if this input evaluates differently for different users, then the impulse will tend to be fired for the first user that sees the change in value. This is usually the one who caused the change in the first place. This could cause inconsistent behavior unless carefully managed. If the desired behavior is for an impulse to fire by every user that detects a change for them locally, then use the local version of this node, which is linked at the bottom of the page.
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.