Description
Returns the zero-based index of the element with the largest numeric value in a specified array. If multiple elements share the maximum value, the index of the first occurrence is returned. Useful for identifying which player, slot, or entry holds the leading value without a separate lookup step.
Snippet
Array Index Of Max(Global.ScoreArray);
Properties
Returns: Number
Parameters: Array
Array
Type: Array, Default: Empty Array
The array in which the index of the maximum value will be located.