getUserMFDValue: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 ")
Line 16: Line 16:
|x1= <code>[[getUserMFDValue]] [[vehicle]] [[player]]; // user0 in MFD will return 1</code>
|x1= <code>[[getUserMFDValue]] [[vehicle]] [[player]]; // user0 in MFD will return 1</code>


|seealso= [[setUserMFDValue]] [[setUserMFDText]], [[getUserMFDText]]
|seealso= [[setUserMFDValue]] [[setUserMFDText]] [[getUserMFDText]]
}}
}}

Revision as of 16:10, 20 January 2022

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:
setUserMFDValue setUserMFDText getUserMFDText

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