BuildingSystem v3 Docs > Building Base > Find Resource by Type

Find Resource by Type

Returns the index of the desired resource in the "resources needed" array

Inputs

In
Exec

Target
Building Base Object Reference

Resources
Array of Needed Resources Structures

Type
ResourceType Enum

Outputs

Out
Exec

Index
Integer