setUserMFDvalue: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(Redirected page to setUserMFDValue)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|= Comments
#REDIRECT [[setUserMFDValue]]
____________________________________________________________________________________________
 
| arma3 |= Game name
 
|1.70|= Game version
____________________________________________________________________________________________
 
| Store user value in MFD, limit is 10, user0...user9. |= Description
____________________________________________________________________________________________
 
| vehicle '''setUserMFDvalue''' [index, value]|= Syntax
 
|p1= vehicle: [[Object]] - an vehicle with MFD |= Parameter 1
 
|p2= index: [[Number]] - index of custom MFD user actions |= Parameter 2
 
|p3= value: [[Number]] - value which should custom source return in MFD |= Parameter 3
 
| [[Nothing]] |= Return value
 
| s2= vehicle '''setUserMFDvalue''' MFDColor |= Syntax
 
|p21= vehicle: [[Object]] - an vehicle with MFD |= Parameter 1
 
|p22= MFDColor: [[Array]] - in format [r, g, b, a] |= Parameter 2
 
| r2= [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <code> BIS_Plane [[setUserMFDvalue]] [0,1]; // user0 in MFD will return 1</code> |= Example 1
 
|x2= Change MFD color to red: <code> BIS_Plane [[setUserMFDvalue]] [1,0,0,1];</code> |= Example 2
____________________________________________________________________________________________
 
}}
 
<h3 style="display:none">Notes</h3>
<dl class="command_description">
</dl>
 
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]

Latest revision as of 11:25, 16 February 2019

Redirect to: