Fire On Change
Flow
Fire On Change Nodes will only fire if the OnlyForUser (User) provided has seen the value on their local machine change.
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)
is the one "watching" for changes, if the Value (Generic) is localized and only changes for the OnlyForUser User, then it will send out a impulse for every change vs someone else who wouldn't see those changes.
Value (Generic)
The value or reference that OnlyForUser (User) should watch for changes on their client.
Outputs
OnChanged (impulse)
Will fire a single impulse from the OnlyForUser (User) input every time the value provided changes.
Examples
-
Fire On Change being used to tell when someone is on the ground according to the host user of a session.