ProtoFlux:Slot Children Events

From Resonite Wiki
Revision as of 19:45, 10 February 2024 by 989onan (talk | contribs) (Added Slot Children Events ProtoFlux Node Page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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