Function
Prefab
Prefab_DoAction
Calls an action function with a given name on an instance, making sure it calls the right version for the type of Prefab. Instance can be a string, this will convert it.
On this page
Prefab_DoAction(instance_data, actionName, param1, param2...)Description
Example: Calling the \"Trigger\" action on an instance that is a PlaneCrash prefab will look for a function called \"PlaneCrash_Trigger\"
Parameters
instance_dataTable/StringrequiredactionNameStringrequiredparam1Varoptionalparam2...Varoptional
Returns
UnknownSource
Declared in the game's script sources at:
scar/prefabs.scar