GetIndexOf

Category: Variables
Since engine version: 4.9.7.0 CR

Description

Returns the index of value in aArray. Retuns -1 if value is not found in aArray.

Syntax

int GetIndexOf (any value, array aArray);

Parameters

value:
Data of which to determine the type.
aArray:
Array in which the search should be done.
Fulgen / Clonk Wiki, Juli 2016