Description
Returns the largest numeric value in a specified array. Non-numeric elements are ignored. Returns 0 for an empty array. Useful for leaderboard logic, identifying peak values, or selecting the highest stat among a group of players.
Snippet
Array Max(Global.ScoreArray);
Properties
Returns: Number
Parameters: Array
Array
Type: Array, Default: Empty Array
The array from which the maximum value will be returned.