FireOnLocalChange
Flow
The FireOnLocalChange node will listen for changes on its input and fire an impulse whenever the client detects a change in value across updates.
Unlike its 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 (Generic)
The value or object that should be listened to for changes.
Outputs
OnChange (Call)
Fires a single impulse owned by the local user whenever the provided input changes value across updates.
See also
- ProtoFlux:FireOnChange for the non-local equivalent of this node where a user to fire the impulse on can be specified.
- ProtoFlux:FireOnLocalTrue
- ProtoFlux:FireOnLocalFalse