getUserMFDValue: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)]]" to "{{GameCategory|arma3|Scripting Commands}}")
m (Some wiki formatting)
 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 1.70


|1.70|Game version=
|gr1= Interaction


|gr1= Interaction |GROUP1=
|descr= Returns array of user text variables used in MFD.
____________________________________________________________________________________________


| Returns array of user text variables used in MFD. |DESCRIPTION=
|s1= [[getUserMFDValue]] vehicle
____________________________________________________________________________________________


| '''getUserMFDValue''' vehicle|SYNTAX=
|p1= vehicle: [[Object]] - a vehicle with MFD


|p1= vehicle: [[Object]] - a vehicle with MFD |PARAMETER1=
|r1= [[Array]] of [[Number]]s


| [[Array]] of [[Number]] |RETURNVALUE=
|x1= <sqf>getUserMFDValue vehicle player; // user0 in MFD will return 1</sqf>
____________________________________________________________________________________________
 
|x1= <code> [[getUserMFDValue]] [[vehicle]] [[player]]; // user0 in MFD will return 1</code> |EXAMPLE1=
____________________________________________________________________________________________
 
| [[setUserMFDValue]], [[setUserMFDText]], [[getUserMFDText]]|SEEALSO=


|seealso= [[setUserMFDValue]] [[setUserMFDText]] [[getUserMFDText]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
</dl>
<h3 style="display:none">Bottom Section</h3>
{{GameCategory|arma3|Scripting Commands}}

Latest revision as of 21:39, 7 May 2022

Hover & click on the images for description

Description

Description:
Returns array of user text variables used in MFD.
Groups:
Interaction

Syntax

Syntax:
getUserMFDValue vehicle
Parameters:
vehicle: Object - a vehicle with MFD
Return Value:
Array of Numbers

Examples

Example 1:
getUserMFDValue vehicle player; // user0 in MFD will return 1

Additional Information

See also:
setUserMFDValue 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