setUserMFDvalue: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 21: Line 21:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code> BIS_Plane [[setUserMFDvalue]] [0,1];</code> |= Example 1
|x1= <code> BIS_Plane [[setUserMFDvalue]] [0,1]; // user0 in MFD will return 1</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 12:46, 3 May 2017

-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version 1.71|1.71]]
Hover & click on the images for description

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

Examples

Example 1:
BIS_Plane setUserMFDvalue [0,1]; // user0 in MFD will return 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

[[Category:Introduced with arma3dev version 1.71]][[ Category: arma3dev: New Scripting Commands | SETUSERMFDVALUE]][[ Category: arma3dev: Scripting Commands | SETUSERMFDVALUE]]

Notes

Bottom Section