武装突袭 Wiki
注册
Advertisement
  

Click on the images for descriptions

Introduced in

Game:
Arma 2
Version:
1.00

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)
Example 1:
Example needed
See also:
See also needed

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section

Advertisement