getArray: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|GETARRAY]]
{{Command|= Comments
[[Category:Scripting Commands ArmA|GETARRAY]]
____________________________________________________________________________________________


| arma |= Game name


<h2 style="color:#000066">''' getArray  '' config'''''</h2>
|2.35|= Game version
____________________________________________________________________________________________


| Extract array from config entry. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| '''getArray''' config |= Syntax


'''config''': [[Config]]
|p1= config [[Config]] |= Parameter 1
   
'''Type of returned value:'''


[[Array]]
| [[Array]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>_array = getArray (configFile >> "CfgVehicles" >> "Thing" >> "threat")</pre> |= Example 1
____________________________________________________________________________________________


'''Compatibility:'''
|  |= See also


Version 2.35 required.
}}


'''Description:'''
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


Extract array from config entry.
<!-- Note Section END -->
</dl>


 
<h3 style="display:none">Bottom Section</h3>
'''Example''':
[[Category:Scripting Commands|GETARRAY]]
 
[[Category:Scripting Commands ArmA|GETARRAY]]
_array = '''getArray''' (configFile >> "CfgVehicles" >> "Thing" >> "threat")

Revision as of 00:19, 2 August 2006

-wrong parameter ("Arma") defined!-2.35
Hover & click on the images for description

Description

Description:
Extract array from config entry.
Groups:
Uncategorised

Syntax

Syntax:
getArray config
Parameters:
config Config
Return Value:
Array

Examples

Example 1:
_array = getArray (configFile >> "CfgVehicles" >> "Thing" >> "threat")

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

Notes

Bottom Section