I'm a doctor, not a mechanic

Max function

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search

Max is math function provided by the Object(RTNP, U1, UT, U2, U2XMP, UE2Runtime, UT2003, UT2004, UDK, UT3) class.

native(250) static final function int Max (int A, int B)

Returns the larger of the two values. Note that when passing float parameters to this function, they are automatically typecasted to type int. If you don't want this, use the FMax() function instead.