setMarkerAttachLocal (VBS2)

From Bohemia Interactive Community

Jump to: navigation, search
Editors, please check Policy: Scripting Command Page Syntax.
Introduced in Virtual Battlespace 2 version 1.00

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 setMarkerAttachLocal [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" setMarkerAttachLocal ["player",[0,0]]

Additional Information

Multiplayer:
The marker is only modified on the computer where the command is called.
See also:
setMarkerAttach

Notes

Notes

+ Add Note

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

Notes

Bottom Section

Personal tools
Buy ArmA now!