Function
Prefab
Prefab_Init
Initialize a specific prefab instance. In many cases, this is all you need to do (see the documentation for the specific prefab for details)
On this page
Prefab_Init(instance_data, restore_table)Description
restore_table can be passed optionally to provoke the prefab type specific RestoreFromTable to be called before the type specific init function.
Parameters
instance_dataTablerequiredrestore_tableTablerequired
Returns
StringString instanceNameSource
Declared in the game's script sources at:
scar/prefabs.scar