setUserMFDText: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Lou Montana (talk | contribs) m (Fix example) |
||
Line 1: | Line 1: | ||
{{Command|= | {{Command|Comments= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| arma3 | | | arma3 |Game name= | ||
|1.78| | |1.78|Game version= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Stored user text value in MFD, limit is 50, user0...user49 |= | | Stored user text value in MFD, limit is 50, user0...user49 |Description= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| vehicle [[setUserMFDText]] [index, value] |= | | vehicle [[setUserMFDText]] [index, value] |Syntax= | ||
|p1= vehicle: [[Object]] - vehicle with MFD | | |p1= vehicle: [[Object]] - vehicle with MFD |Parameter 1= | ||
|p2= index: [[Number]] | | |p2= index: [[Number]] |Parameter 2= | ||
|p3= value: [[String]] | | |p3= value: [[String]] |Parameter 3= | ||
| [[Nothing]] | | | [[Nothing]] |Return value= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_vehicle [[setUserMFDText]] [0, | |x1= <code>_vehicle [[setUserMFDText]] [0, "some text"];</code> |Example 1= | ||
___________________________________________________________________________________________ | ___________________________________________________________________________________________ | ||
| [[getUserMFDText]], [[setUserMFDValue]], [[getUserMFDValue]]| | | [[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}}}}]] | ||
Revision as of 13:54, 6 April 2019
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
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