FireOnLocalTrue
Flow
The FireOnLocalTrue node will listen for changes on its input bool and fire an impulse whenever the input turns from False
to True
across updates.
Unlike its non-local equivalent, every user's client will be listening for changes and fire impulses owned by themselves as opposed to only one user. This is useful when a time-sensitive value is already evaluated locally, making this node work without extra network delay.
Inputs
Value (bool)
The bool that should be listened to for changes.
Outputs
OnChange (Call)
Fires a single impulse owned by the local user whenever the provided input turns from False
to True
across updates.
See also
- ProtoFlux:FireOnTrue for the non-local equivalent of this node where a user to fire the impulse on can be specified.
- ProtoFlux:FireOnLocalChange
- ProtoFlux:FireOnLocalFalse