-
Notifications
You must be signed in to change notification settings - Fork 94
min
Ryzom Core Wiki edited this page Jul 8, 2024
·
4 revisions
title: Min description: published: true date: 2023-03-16T23:08:42.048Z tags: editor: markdown dateCreated: 2023-03-16T22:25:46.322Z
The min native AI script function returns the lowest of two values.
(min_value: f)min(value1: f, value2: f) // min_ff_f
- value1 (float): A value to compare.
- value2 (float): A value to compare.
- min_value (float): The minimum value of the two parameters.
(shortest)min(left, right)
This example code compares the left
and right
parameters and returns the shortest of the two.