setTriggerArea (VBS1)

From Bohemia Interactive Community
Jump to: navigation, search
Introduced in Virtual Battlespace 1 version 2.12.14

Click on the images for descriptions

Introduced in

Game:
Virtual Battlespace 1
Version:
2.12.14

Description

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.

Syntax

Syntax:
trigger setTriggerArea [a, b, angle, rectangle]
Parameters:
trigger: Object
[a, b, angle, rectangle]: Array
Return Value:
Nothing

Examples

Example 1:
trigger setTriggerArea [100, 50, 45, false ]

Additional Information

Multiplayer:
-
See also:
See also needed

Notes

Only post proven facts here. Use the talk page or the forums for discussions.


Notes

Bottom Section