ProtoFlux:Slot Children Events

From Resonite Wiki
Slot Children Events
OnUser
OnChildAdded
OnChildRemoved
Child
Instance
null
Slots

Slot Children events is a ProtoFlux node that monitors a given Instance (Slot). It then sends impulses for OnChildAdded (Call) and OnChildRemoved (Call) when children are added or removed. When an event trigger happens, Child (Slot) is available for reading during the impulse.

Inputs

OnUser (User)

The user that should monitor the given Instance (Slot) for slot events. Only if this user sees a slot change will a call be triggered from this node.

Outputs

OnChildAdded (Call)

Sends an impulse when a child is added to Instance (Slot) according to what the user provided to OnUser (User) sees on their client.

OnChildRemoved (Call)

Sends an impulse when a child is removed from Instance (Slot) according to what the user provided to OnUser (User) sees on their client.

Child (Slot)

The child object that was added or removed from Instance (Slot). This will only have a value during an impulse from OnChildAdded (Call) and OnChildRemoved (Call).

Globals

Instance (Slot)

The slot to monitor for slot events using OnUser (User)'s client.

Examples