Function
PrefabHelper
PrefabHelper_StandardTriggerSystem
Add this helper function to your prefab's Init function to cover standard trigger zone functionality.
On this page
PrefabHelper_StandardTriggerSystem(instance_data, action_name, trigger_parameters)Description
It will call a Trigger function in your prefab when appropriate. Your schema needs to include the standard elements: trigger_enable, ignore_planes, trigger_player, trigger_zone and delay
Parameters
instance_dataTable/Stringrequiredaction_nameStringrequiredtrigger_parametersTablerequired
Returns
UnknownSource
Declared in the game's script sources at:
scar/prefabs.scar