createTrigger (VBS1)

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Virtual Battlespace 1 version 2.12.142.12
Hover & click on the images for descriptions

Description

Description:
Creates a new trigger on the given position. An object of the given type is created; this type must be a class name in CfgNonAIVehicles or CfgVehicles with simulation=detector.

Syntax

Syntax:
createTrigger [type, position]
Parameters:
[type, position]: Array
Return Value:
Object

Examples

Example 1:
trigger = createTrigger ["EmptyDetector", position player ]

Additional Information

See also:
See also needed

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section