BIS_fnc_returnNestedElement

From Bohemia Interactive Community
Revision as of 14:47, 25 July 2014 by Str (talk | contribs) (1 revision)
Jump to navigation Jump to search


Hover & click on the images for description

Description

Description:
/*
	File: fn_returnNestedElement.sqf

	Description:
	Function to return an item at a path in an array.
	
	Example:
	_array = [[1, 2], [3, 4]];
	_value = [_array, [0, 1]] call BIS_fnc_returnNestedElement; //Expected result: 2

	Parameter(s):
	_this select 0: Array
	_this select 1: path to the element (Array)
	
	Returns:
	Any Value found element
*/

(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Example 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

Notes

Bottom Section