Fire On Change (LogiX node)
Fire On Change | ||
---|---|---|
![]() | ||
Inputs | ||
Object | Value | |
User | OnlyForUser | |
Outputs | ||
Impulse | Pulse |
The Fire On Change node fires an impulse whenever the input Value
changes.
Usage
The Value
input has a 'dummy' datatype when the node is spawned from the node browser. The node will overload to any given datatype if a wire of that type is connected to Value
.
User Handling
The second input to this node, OnlyForUser
, exists to control which users fire the impulse when the Condition
is met/changed. Its handling is as follows:
- If a User is specified in the
OnlyForUser
only fire for this user. - If a User is not specified BUT the Node exists parented to a User then fire for the user it is parented to. This usually happens on avatars.
- Otherwise fire for all users.
Do not use Local User with this node. It will cause the node to fire for all users. Use Local Fire On Change instead.
It is recommended to specify a user at OnlyForUser
to ensure that the user for whom the impulse fires is predictable.
It is recommended to specify a user at OnlyForUser
to ensure that the user for whom the impulse fires is predictable.
Note that this node will only fire one impulse in the event that Value
changes multiple times within a single impulse chain. Similarly this node will not fire an impulse if the Value
is changed and then reset to the previous value within a single impulse chain.