setMarkerText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Adding SeeAlso setMarkerAlpha)
Line 25: Line 25:
|mp= setMarkerText is global.  All other setMarker commands seem to be Local.|=
|mp= setMarkerText is global.  All other setMarker commands seem to be Local.|=


|[[setMarkerBrush]], [[setMarkerColor]], [[setMarkerDir]], [[setMarkerPos]], [[setMarkerShape]], [[setMarkerSize]], [[setMarkerType]]
|[[setMarkerBrush]], [[setMarkerColor]], [[setMarkerDir]], [[setMarkerPos]], [[setMarkerShape]], [[setMarkerSize]], [[setMarkerType]], [[setMarkerAlpha]]
|= See also
|= See also
}}
}}

Revision as of 07:26, 25 February 2012

-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