-
Notifications
You must be signed in to change notification settings - Fork 94
max
Ryzom Core Wiki edited this page Jul 8, 2024
·
4 revisions
title: Max description: published: true date: 2023-03-16T23:08:35.943Z tags: editor: markdown dateCreated: 2023-03-16T22:25:38.791Z
The max native AI script function returns the highest of two values.
(max_value: f)max(value1: f, value2: f) // max_ff_f
- value1 (float): A value to compare.
- value2 (float): A value to compare.
- max_value (float): The maximum value.
(longest)max(left, right)
This example code returns the longest of two values, left
and right
.