createMarker

From Bohemia Interactive Community

Jump to: navigation, search
Editors, please check Policy: Scripting Command Page Syntax.
Introduced in Armed Assault version 1.00Effects of this scripting command are broadcasted over the network and happen on every computer in the network

Click on the images for descriptions

Introduced in

Game:
Armed Assault
Version:
1.00

Description

Description:
Creates a new marker at the given position. The marker name has to be unique.

Syntax

Syntax:
String = createMarker ["name", position]
Parameters:
name String
Position
Return Value:
String

Examples

Example 1:
_marker = createMarker ["Marker1", position player ]

Additional Information

Multiplayer:
createMarker is global, use createMarkerLocal if you want to create a marker locally
See also:
setMarkerBrush, setMarkerColor, setMarkerDir, setMarkerPos, setMarkerShape, setMarkerSize, setMarkerText, setMarkerType

Notes

Notes

+ Add Note

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

Notes

To create a marker you need to define at least the following three settings:

_markerobj = createMarker["markername",[_Xpos,_Ypos]]
_markerobj setMarkerShape "ICON"
"markername" setMarkerType "DOT"

Bottom Section

Personal tools
Buy ArmA now!