getUserMFDValue: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma3 |Game name=
| arma3


|1.70|Game version=
|1.70


|gr1= Interaction |GROUP1=
|gr1= Interaction


| Returns array of user text variables used in MFD. |DESCRIPTION=
| Returns array of user text variables used in MFD.


| '''getUserMFDValue''' vehicle|SYNTAX=
| '''getUserMFDValue''' vehicle


|p1= vehicle: [[Object]] - a vehicle with MFD |PARAMETER1=
|p1= vehicle: [[Object]] - a vehicle with MFD


| [[Array]] of [[Number]] |RETURNVALUE=
| [[Array]] of [[Number]]
   
   
|x1= <code> [[getUserMFDValue]] [[vehicle]] [[player]]; // user0 in MFD will return 1</code> |EXAMPLE1=
|x1= <code> [[getUserMFDValue]] [[vehicle]] [[player]]; // user0 in MFD will return 1</code>


| [[setUserMFDValue]], [[setUserMFDText]], [[getUserMFDText]]|SEEALSO=
| [[setUserMFDValue]], [[setUserMFDText]], [[getUserMFDText]]


}}
}}

Revision as of 00:40, 18 January 2021

Hover & click on the images for description

Description

Description:
Returns array of user text variables used in MFD.
Groups:
Interaction

Syntax

Syntax:
getUserMFDValue vehicle
Parameters:
vehicle: Object - a vehicle with MFD
Return Value:
Array of Number

Examples

Example 1:
getUserMFDValue vehicle player; // user0 in MFD will return 1

Additional Information

See also:
setUserMFDValuesetUserMFDTextgetUserMFDText

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