setMarkerText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 31: Line 31:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
createMarker is global, so all markers created with it are there for all clients in MP.  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.
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.


<!-- Note Section END -->
<!-- Note Section END -->

Revision as of 20:32, 31 December 2006

-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:
name setMarkerText text
Parameters:
name: String
text: String
Return Value:
Nothing

Examples

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

Additional Information

See also:
setMarkerBrushsetMarkerColorsetMarkerDirsetMarkerPossetMarkerShapesetMarkerSizesetMarkerTextsetMarkerType

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