BIS_fnc_arrayFindDeep

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 2 version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Arma 2
Version:
1.00

Description

Description:
Searches an array for a specific value and returns its index.

Syntax

Syntax:
[array,value] call BIS_fnc_arrayFindDeep
Parameters:
array: Array - Array to be searched
value Anything - Value to be searched for
Return Value:
Array - Returns array with index of found element, if it wasn't found it returns -1

Examples

Example 1:
[ [1,2,3,4,5], 3 ] call BIS_fnc_arrayFindDeep;//Returns [2]

Additional Information

Execution:
call
Multiplayer:
-
See also:
BIS_fnc_addToPairsfindselectBIS_fnc_removeIndex

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