Slot Children Events (LogiX node)

From Neos Wiki
Jump to navigation Jump to search
Other languages:
English • ‎日本語
Slot Children Events
'Slot Children Events' LogiX node
Inputs
  Slot Instance
  User OnUser
Outputs
  Impulse OnChildAdded
  Impulse OnChildRemoved
  Slot Child

The Slot Children Events node generates impulses when child slots are added or removed from the Instance slot.

Note that currently Slot Children Events does not support the value of the Instance slot changing. [1]

Usage

The OnUser input can be used to specify which user will own the generated impulses. By default impulses are owned by the user who caused the change. Providing the Local User to this input will result in impulses being fired for all users in the session.


The OnChildAdded output fires impulses whenever a child slot is added under the Instance slot.


The OnChildRemoved output fires impulses whenever a child slot is removed from under the Instance slot.


The Child output provides the slot which was added / removed from under the Instance slot. This value is only available for the duration of the impulse chain started by OnChildAdded or OnChildRemoved. Note that the value will be null if a child slot is destroyed, rather than being reparented away from the Instance slot.

Examples

Tutorial by ProbablePrime:

Related Issues

#666 - Bugs with Slot Children Events node

#930 - Add OnChildDestroyed to Slot Children Events node

#1014 - Slot Children Events causing null parents on deletion

#1335 - Slot Child Events Bug: event is too fast?

#2822 - Slot Children Events node breaks on input change

Node Menu

Slots
Back Children Count Destroy Slot Destroy Slot Children Duplicate Slot Find Child By Name Find Child By Tag
Find Parent By Name Find Parent By Tag Get Active User Get Active User Root Get Active User Self Get Child Get Object Root
Get Parent Slot Get Slot Get Slot Active Get Slot Active Self Get Slot Name Get Slot Order Offset Get Slot Persistent
Get Slot Persistent Self Get Tag Has Tag Index Of Child Is Child Of Root Slot Set Child Index
Set Parent Set Slot Active Self Set Slot Name Set Slot Order Offset Set Slot Persistent Self Set Tag Slot Children Events