api:comp_resource_stockpile
Table of Contents
COMP_RESOURCE_STOCKPILE
Category: Component
Parent class: COMPONENT
Properties
ResourceLayoutTypeList
OptionalAllowedResourceList
Allowing only 1 resource on a stockpile will allow the resource to be split between all resource stockpile with this unique resource associated.
- Expected:
list of asset IDs
LocatorPrefix
Optional, allows to use only child game objects whose name starts with this prefix as visual locators. If empty, all child game objects will be used as locators.
- Type:
string
- Expected:
string value
DefaultResourceVisual
ResourceStockpileVisualMode
- Expected:
enum value
- Default value:
RESOURCE_STOCKPILE_VISUAL_MODE.WAREHOUSE_SPAWN
api/comp_resource_stockpile.txt · Last modified: 2025/04/30 14:21 by 127.0.0.1