entity.trigger_range

Gives the range within EVENT_TRIGGER will be triggered by a moved entity, which itself has it's  TRIGGER_RANGE set to non-zero. The event is triggered when both trigger_ranges overlap.

Range:

0 .. 2% of level diameter (default: 0)

Type:

var

Remarks:

For speed reasons the trigger area is an axis aligned cube and therefore not precise. Use it only for triggering, but not for distance measuring. Triggering is only guaranteed when trigger ranges are small - they should not be bigger than 2 percent of the level diameter.

Example:

my.trigger_range = 100;  		

See also:

event_trigger