setMarkerText

From Bohemia Interactive Community
Revision as of 08:14, 4 April 2014 by Dr StrangePete (talk | contribs) (code tags; global effects tag)
Jump to navigation Jump to search
-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Sets the text label of an existing marker.
Multiplayer:
setMarkerText is global. All other setMarker commands seem to be Local.
Groups:
Uncategorised

Syntax

Syntax:
markerName setMarkerText text
Parameters:
markerName: String
text: String
Return Value:
Nothing

Examples

Example 1:
"Marker1" setMarkerText "You are here.";

Additional Information

See also:
setMarkerBrushsetMarkerColorsetMarkerDirsetMarkerPossetMarkerShapesetMarkerSizesetMarkerTypesetMarkerAlpha

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

createMarker is GLOBAL in multiplayer, so all markers created with it exist for all clients. But they are not visible. Almost all setMarker commands can then be used for different effects on LOCAL clients. BUT if you use the setMarkerText command, then the marker will become visible to all clients since the command is GLOBAL.

Bottom Section