setMarkerAttach (VBS2)
From Bohemia Interactive Community
| Editors, please check Policy: Scripting Command Page Syntax. |
Click on the images for descriptions
Introduced in
- Game:
- Virtual Battlespace 2
- Version:
- 1.00
Description
- Description:
- Attaches a marker to an Object.
Syntax
- Syntax:
- markername setMarkerAttach [object,offset,[_this]]
- Parameters:
- markername: String - Name of marker to attach
- object: String - Name of Object to attach marker to
- offset: Position2D - Positional offset of marker to object
- _this: Anything - Array of objects to pass into condition (optional, has to be passed as "_this")
- Return Value:
- Nothing
Examples
- Example 1:
"Marker1" setMarkerAttach ["player",[0,0]]
Additional Information
- Multiplayer:
- The marker is modified on all computers in a network session.

