Fire On Change (LogiX node)

From Neos Wiki
Revision as of 14:33, 19 February 2022 by Aesc (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Other languages:
English • ‎日本語
Fire On Change
'Fire On Change' LogiX node
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:

  1. If a User is specified in the OnlyForUser only fire for this user.
  2. 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.
  3. 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.

Examples

Node Menu

Flow
Back Events Boolean Latch Delay Delay With Value Dynamic Impulse Receiver Dynamic Impulse Receiver With Value`1
Dynamic Impulse Trigger Dynamic Impulse Trigger With Value`1 Fire On Change Fire On False Fire On True Fire While True For
If Impulse Demultiplexer Impulse Multiplexer Local Fire On Change`1 Local Fire On False Local Fire On True Local Impulse Timeout
Local Leaky Impulse Bucket One Per Frame Pulse Random Sequence Timer Update Updates Delay
Updates Delay With Value While