Function
Prefab
Prefab_ApplyDefaults
Applies the defaults listed in the prefab schema to the instance data. Any items NOT included explicitly in the instance data will have default values pulled from the schema.
On this page
Prefab_ApplyDefaults(instance_data, prefab_schema)Description
Applies the defaults listed in the prefab schema to the instance data. Any items NOT included explicitly in the instance data will have default values pulled from the schema.
Parameters
instance_dataTable/Stringrequiredprefab_schemaTablerequired
Returns
UnknownSource
Declared in the game's script sources at:
scar/prefabs.scar