Background for Skyrim SE
Member of the PapyrusUtil script
intfunctionClampInt(intvalue, intmin, intmax)NativeGlobal

Description

Documentation Comment

Returns the value clamped to the min or max when out of range


Caveats


Parameters

intvalue

intmin

intmax


Examples

Auto-Generated Example

int myInt__value
int myInt__min
int myInt__max

int returnedValue = PapyrusUtil.ClampInt(myInt__value, myInt__min, myInt__max)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.