markerText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (added new command)
 
m (Some wiki formatting)
 
(51 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma |= Game name
|game1= arma1
|version1= 1.04


|1.04|= Game version
|game2= arma2
____________________________________________________________________________________________
|version2= 1.00


| Get marker direction. |= Description
|game3= arma2oa
____________________________________________________________________________________________
|version3= 1.50


| '''markerText''' markerName |= Syntax
|game4= tkoh
|version4= 1.00


|p1= markerName: [[String]] |= Parameter 1
|game5= arma3
|version5= 0.50


| [[Text]] |= Return value
|gr1= Markers
____________________________________________________________________________________________
 
|x1= <pre>_mPos = markerText "markerOne"</pre> |= Example 1
____________________________________________________________________________________________


| |= See also
|arg= global


}}
|descr= Get marker text.
 
|s1= [[markerText]] markerName


<h3 style="display:none">Notes</h3>
|p1= markerName: [[String]]
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|r1= [[String]]
</dl>


<h3 style="display:none">Bottom Section</h3>
|x1= <sqf>hint format ["Marker Text: %1", markerText "Marker1"];</sqf>


[[Category:Scripting Commands|MARKERTEXT]]
|seealso= [[setMarkerText]] [[setMarkerTextLocal]]
[[Category:Scripting Commands ArmA|MARKERTEXT]]
}}
[[Category:Command Group: Markers|MARKERTEXT]]

Latest revision as of 14:12, 22 April 2022

Hover & click on the images for description

Description

Description:
Get marker text.
Groups:
Markers

Syntax

Syntax:
markerText markerName
Parameters:
markerName: String
Return Value:
String

Examples

Example 1:
hint format ["Marker Text: %1", markerText "Marker1"];

Additional Information

See also:
setMarkerText setMarkerTextLocal

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