Page tree
Skip to end of metadata
Go to start of metadata


Introduced in

Version:1.00

Description

Description:Defines the trigger area.

Syntax

Syntax:trigger setTriggerArea [xrad, yrad, angle, rectangle]
Parameters:
  • trigger: Object - Trigger object.
  • xrad: Number - Horizontal (x) radius (or half the width of a rectangle).
  • yrad: Number - Vertical (Y) radius (or half the height of a rectangle).
  • angle: Number - Rotation angle (in degrees).
  • rectangle: Boolean - Set to true for rectangle, false for circle.
Return Value:Nothing

Examples

Examples:_trigger setTriggerArea [100, 50, 45, false]

Additional Information

See also: triggerArea, setTriggerAreaPolygonal
Multiplayer:
Problems:

Notes