Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

Max function

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 03:11, 13 August 2010 by Wormbo (Talk | contribs) (removed appearant leftover from Clamp copy/paste)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.