From Bohemia Interactive Community
Jump to navigation
Jump to search
Hover & click on the images for description
Description
- Description:
- When MFD is using user controllers, this command can set values on them. For example, MFD config for Blackfoot has an entry
// ...
class Draw
{
alpha = "user3";
color[] = {"user0","user1","user2"};
// ...
which could control color of the MFD. See Example 2-3-4 on how to set different colors of the Blackfoot MFD
- Groups:
- Interaction
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
Examples
- Example 1:
- Example 2:
- Set MFD Red:
- Example 3:
- Set MFD pale Blue:
- Example 4:
- Hide MFD:
Additional Information
- See also:
- getUserMFDValue 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