setUserMFDText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma3 |Game name=
| arma3


|1.78|Game version=
|1.78


|gr1= GUI Control |GROUP1=
|gr1= GUI Control






| Stored user text value in MFD, limit is 50, user0...user49 |Description=
| Stored user text value in MFD, limit is 50, user0...user49


| vehicle [[setUserMFDText]] [index, value] |Syntax=
| vehicle [[setUserMFDText]] [index, value]


|p1= vehicle: [[Object]] - vehicle with MFD |Parameter 1=
|p1= vehicle: [[Object]] - vehicle with MFD
|p2= index: [[Number]] |Parameter 2=
|p2= index: [[Number]]
|p3= value: [[String]] |Parameter 3=
|p3= value: [[String]]


| [[Nothing]] |Return value=
| [[Nothing]]


   
   
|x1= <code>_vehicle [[setUserMFDText]] [0, "some text"];</code> |Example 1=
|x1= <code>_vehicle [[setUserMFDText]] [0, "some text"];</code>


| [[getUserMFDText]], [[setUserMFDValue]], [[getUserMFDValue]]|See also=
| [[getUserMFDText]], [[setUserMFDValue]], [[getUserMFDValue]]
}}
}}


[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}

Revision as of 11:11, 18 January 2021

Hover & click on the images for description

Description

Description:
Stored user text value in MFD, limit is 50, user0...user49
Groups:
GUI Control

Syntax

Syntax:
vehicle setUserMFDText [index, value]
Parameters:
vehicle: Object - vehicle with MFD
index: Number
value: String
Return Value:
Nothing

Examples

Example 1:
_vehicle setUserMFDText [0, "some text"];

Additional Information

See also:
getUserMFDTextsetUserMFDValuegetUserMFDValue

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