setUserMFDvalue: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3dev |= Game name |1.71|= Game version ______________...")
 
No edit summary
Line 12: Line 12:
| vehicle '''setUserMFDvalue''' [index, value]|= Syntax
| vehicle '''setUserMFDvalue''' [index, value]|= Syntax


|p1= vehicle: [[Object]] - an AI-controlled vehicle |= Parameter 1
|p1= vehicle: [[Object]] - an vehicle with MFD |= Parameter 1


|p2= index: [[Number]] - index of custom MFD user actions |= Parameter 2
|p2= index: [[Number]] - index of custom MFD user actions |= Parameter 2

Revision as of 13:45, 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];

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