BIS fnc returnNestedElement: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1= Arrays |GROUP1") |
m (Text replacement - "\[\[Category\:Function Group\: Arrays(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
||
Line 37: | Line 37: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Functions|{{uc:returnNestedElement}}]] | [[Category:Functions|{{uc:returnNestedElement}}]] | ||
[[Category:{{Name|arma2}}: Functions|{{uc:returnNestedElement}}]] | [[Category:{{Name|arma2}}: Functions|{{uc:returnNestedElement}}]] | ||
[[Category:{{Name|arma2oa}}: Functions|{{uc:returnNestedElement}}]] | [[Category:{{Name|arma2oa}}: Functions|{{uc:returnNestedElement}}]] | ||
[[Category:{{Name|tkoh}}: Functions|{{uc:returnNestedElement}}]] | [[Category:{{Name|tkoh}}: Functions|{{uc:returnNestedElement}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:returnNestedElement}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:returnNestedElement}}]] |
Revision as of 12:46, 12 October 2020
Description
- Description:
- GROUP1 ____________________________________________________________________________________________
- Execution:
- call
- Groups:
- Arrays
Syntax
- Syntax:
- Function to return an item at a path in an array.
- Parameters:
- array: Array
- path: Array of Numbers
- Return Value:
- [array, path] call BIS_fnc_returnNestedElement
Examples
- Example 1:
_array = [[1, 2], [3, 4]]; _value = [_array, [0, 1]] call BIS_fnc_returnNestedElement; // returns 2
Additional Information
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