ScarDoc

Start typing to search the SCAR reference.

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/Stringrequired
  • action_nameStringrequired
  • trigger_parametersTablerequired

Returns

Unknown

Source

Declared in the game's script sources at:

scar/prefabs.scar