Class: TriggerPoint

TriggerPoint()

new TriggerPoint()

Source:

Methods

RegisterRangeTrigger(name, data)

Parameters:
Name Type Description
name Name of the trigger.
data The data is an object containing information for the range query Some of the data has sendible defaults (mentionned next to the object) data.players = [1,2,3,...] * list of player ids data.minRange = 0 * Minimum range for the query data.maxRange = -1 * Maximum range for the query (-1 = no maximum) data.requiredComponent = 0 * Required component id the entities will have data.enabled = false * If the query is enabled by default
Source: