Duplicate Slot (LogiX node)

From Neos Wiki
Revision as of 22:30, 26 June 2020 by Zyzyl (talk | contribs) (Created page with "<languages></languages> <translate> The '''Duplicate Slot''' node creates a copy of the target input slot when an impulse is received. <!--[[File:|border|256px|right]]--> ==...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Other languages:
English • ‎日本語

The Duplicate Slot node creates a copy of the target input slot when an impulse is received.


Inputs & Outputs

Inputs
Color Label Type
DoDestroy Impulse
Template Slot
Outputs
Color Label Type
OnDuplicated Impulse
Duplicate Slot

Usage

The duplicated slot is generated under the same parent as the template slot.

Examples

This node is commonly used when one wants to spawn an item when an event occurs, have a template object set to inactive (invisible and uninteractable) and duplicate that. Often one needs to reparent the duplicate immediately using a Set Parent (LogiX node). If the template slot is itself set as active, but it is inactive due to a parent slot being inactive, the duplicate will spawn as active too and will be visible after reparenting under another active slot. However if the template slot is itself inactive then the duplicate will spawn as inactive too and will need to be activated (e.g. with a Set Slot Active Self (LogiX node)) before it will be visible or interactable.

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