getUserMFDValue: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|s([0-9])\= '''([^' ]+)'''([^ ]+) " to "|s$1= $2$3 ")
m (Text replacement - " |r1=[[" to " |r1= [[")
Line 12: Line 12:
|p1= vehicle: [[Object]] - a vehicle with MFD
|p1= vehicle: [[Object]] - a vehicle with MFD


|r1=[[Array]] of [[Number]]
|r1= [[Array]] of [[Number]]


|x1= <code>[[getUserMFDValue]] [[vehicle]] [[player]]; // user0 in MFD will return 1</code>
|x1= <code>[[getUserMFDValue]] [[vehicle]] [[player]]; // user0 in MFD will return 1</code>

Revision as of 23:46, 7 August 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