BIS fnc findNestedElement: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki)
 
m (1 revision)
(No difference)

Revision as of 14:47, 25 July 2014


Hover & click on the images for description

Description

Description:
/*
	File: fn_findNestedElement.sqf

	Description:
	Function to find item in nested arrays and return a path to the first match.
	
	Example:
	_array = [[1, 2], [3, 4]];
	_path = [_array, 3] call BIS_fnc_findNestedElement; //Expected result: [1, 0]

	Parameter(s):
	_this select 0: Array
	_this select 1: queried element (Any Value)
	
	Returns:
	Array path to the 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