setUserMFDText: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "") |
Lou Montana (talk | contribs) 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 | {{Command | ||
| arma3 | | arma3 | ||
|1.78 | |1.78 | ||
|gr1= GUI Control | |gr1= GUI Control | ||
| Stored user text value in MFD, limit is 50, user0...user49 | | Stored user text value in MFD, limit is 50, user0...user49 | ||
| vehicle [[setUserMFDText]] [index, value] | | vehicle [[setUserMFDText]] [index, value] | ||
|p1= vehicle: [[Object]] - vehicle with MFD | |p1= vehicle: [[Object]] - vehicle with MFD | ||
|p2= index: [[Number]] | |p2= index: [[Number]] | ||
|p3= value: [[String]] | |p3= value: [[String]] | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>_vehicle [[setUserMFDText]] [0, "some text"];</code> | |x1= <code>_vehicle [[setUserMFDText]] [0, "some text"];</code> | ||
| [[getUserMFDText]], [[setUserMFDValue]], [[getUserMFDValue]] | | [[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
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
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