setMarkerText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(code tags; global effects tag)
Line 5: Line 5:


|1.00|= Game version
|1.00|= Game version
|eff= global |= Effects in MP
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 20: Line 22:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>"Marker1" setMarkerText "You are here."</pre> |= Example 1
|x1= <code>"Marker1" [[setMarkerText]] "You are here.";</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 08:14, 4 April 2014

-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