createTrigger (VBS1)

From Bohemia Interactive Community
Jump to navigation Jump to search


Introduced with Virtual Battlespace 1 version2.12
  

Click on the images for descriptions

Introduced in

Game:
Virtual Battlespace 1
Version:
2.12.14

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

Multiplayer:
-
See also:
See also needed

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section