NX GetRandom

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the NX NVSE plugin.

Description

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

Syntax

[help]
(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