markerText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Some wiki formatting)
 
(38 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma |= Game name
|game1= arma1
|1.04|= Game version
|version1= 1.04
|arg= global|= Arguments in MP
____________________________________________________________________________________________


| Get marker text. |DESCRIPTION=
|game2= arma2
____________________________________________________________________________________________
|version2= 1.00


| [[String]] <nowiki>=</nowiki> '''markerText''' markerName |SYNTAX=
|game3= arma2oa
|version3= 1.50


|p1= markerName: [[String]] |PARAMETER1=
|game4= tkoh
|version4= 1.00


| [[String]] |RETURNVALUE=
|game5= arma3
____________________________________________________________________________________________
|version5= 0.50
 
|x1= <code>[[hint]] [[format]] ["Marker Text: %1",'''markerText''' "Marker1"];</code> |EXAMPLE1=
____________________________________________________________________________________________


| [[setMarkerText]], [[setMarkerTextLocal]] |SEEALSO=
|gr1= Markers


}}
|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]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Latest revision as of 15: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