GameObject Get Data
Read multiple values from a GameObject Data Component into FSM variables.
Parameters
| Parameter | Description |
|---|---|
| Game Object | The GameObject to read from. |
| Data Definition | The schema used to find the matching Data Component. |
| Store Defaults If Missing | If enabled, outputs get Data Definition defaults when no component is found. |
| Get Values | List of field-to-variable mappings to read. |
| Used Defaults | True when default values were used instead of component values. |
| Succeeded | True when values were applied to outputs. |
Details
This action reads all mapped fields from the matching component record.
When Store Defaults If Missing is enabled, it can still output values even if the component does not exist.
Examples
- Load NPC dialogue flags from a Data Component.
- Read default stat values when a spawned object has not been initialized yet.