createMarker

From Bohemia Interactive Community
Jump to: navigation, search
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, position]: Array
name: String
position: Array - format 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, setMarkerAlpha

Notes

Notes


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:

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

Bottom Section

Personal tools
Google Ads