setUserMFDText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Fix example)
Line 1: Line 1:
{{Command|= Comments
{{Command|Comments=
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| arma3 |Game name=


|1.78|= Game version
|1.78|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


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


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


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


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


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


Line 36: Line 35:
<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]

Revision as of 13:54, 6 April 2019

Hover & click on the images for description

Description

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

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

Notes

Bottom Section