ProtoFlux:Find Child By Name

From Resonite Wiki
Find Child By Name
Instance
*
Name
MatchSubstring
IgnoreCase
SearchDepth
Slots

Finds a child object under Instance (Slot) that matches the given arguments

Using this node to search the entire root in ProtoFlux that tries to evaluate every frame will generate considerable frame lag. If searching the root has to be done, put the result into a cached variable (Data Model Store) rather than searching every game tick.

Inputs

Instance (Slot)

The slot to scan for children with.

Name (String)

The name to look for under Instance (Slot).

MatchSubstring (bool)

Whether to search for children under Instance (Slot) that their name contains Name (String) instead of the entire name being equal.

IgnoreCase (bool)

Whether the capitalization should matter or not when searching for a child under Instance (Slot).

SearchDepth (int)

How far to search for a child with the provided search arguments

Examples: 0 > Search immediate children. 1 > Search children of slot including those slot's children. -1 > Search infinitely far down (HEAVY)

Outputs

* (Slot)

The result of the search.

Examples