The max native AI script function returns the highest of two values.
(max_value: f)max(value1: f, value2: f) // max_ff_f
(longest)max(left, right)
This example code returns the longest of two values, left and right.
left
right