setTriggerArea

From Bohemia Interactive Community
Revision as of 22:15, 4 July 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


trigger setTriggerArea [a, b, angle, rectangle]


Operand types:

trigger: Object

[a, b, angle, rectangle]: Array

Type of returned value:

Nothing

Compatibility:

Version 1.86 required.

Description:

Defines the area controlled by the trigger.

The area is rectangular or elliptic, the width is 2 * a, the height is 2 * b. It is rotated angle degrees.


Example:

trigger setTriggerArea [100, 50, 45, false]