Dynamic Impulses

From Neos Wiki
Revision as of 23:21, 28 January 2021 by Chemicalcrux (talk | contribs) (Set up a dynamic impulse page.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Dynamic impulses allow for impulses to travel to other LogiX programs anywhere in the world.

Usage

There are two main parts to dynamic impulses: triggers and receivers.

A receiver takes a string tag. This tag determines what it listens for; when a dynamic impulse is triggered with the correct tag, an impulse will flow out of the node.

A trigger takes a slot to target and a tag to use. Every receiver under the targeted slot with a matching tag will be triggered.

Optionally, dynamic impulses can also carry a single value.

Specifics

A dynamic impulse trigger sends the impulse it received to all matching receivers.

Importantly, this means that anything available in the context of the triggering impulse, such as the collider that a collision occurred with, is also available to the receivers. This also makes dynamic impulses instant. If there are several receivers, they run in order; they will never run simultaneously.