NX GetRandom

From GECK

A function added by the NX NVSE plugin.

Description

Returns a random int between the specified minimum and maximum, inclusive.

Syntax

(int) NX_GetRandom Min:int Max:int

Example

int iValue
let iValue := NX_GetRandom 1, 5 ; * for 1, 2, 3, 4 or 5

See Also

Personal tools