setMarkerText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Adding SeeAlso setMarkerAlpha)
Line 43: Line 43:
[[Category:Command Group: Markers|SETMARKERTEXT]]
[[Category:Command Group: Markers|SETMARKERTEXT]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 12:05, 25 March 2013

-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