setUserMFDvalue
Jump to navigation
Jump to search
Description
- Description:
- Store user value in MFD, limit is 10, user0...user9.
- Groups:
- Uncategorised
Syntax
- Syntax:
- vehicle setUserMFDvalue [index, value]
- Parameters:
- vehicle: Object - an vehicle with MFD
- index: Number - index of custom MFD user actions
- value: Number - value which should custom source return in MFD
- Return Value:
- Nothing
Alternative Syntax
- Syntax:
- vehicle setUserMFDvalue MFDColor
- Parameters:
- vehicle: Object - an vehicle with MFD
- MFDColor: Array - in format [r, g, b, a]
- Return Value:
- Nothing
Examples
- Example 1:
BIS_Plane setUserMFDvalue [0,1]; // user0 in MFD will return 1
- Example 2:
- Change MFD color to red:
BIS_Plane setUserMFDvalue [1,0,0,1];
Additional Information
- See also:
- See also needed
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