NX GetRandom
Revision as of 13:08, 28 June 2014 by imported>Odessa (Created page with "{{Function |origin = NX |summary = Returns a random int between the specified minimum and maximum, <i>inclusive</i>. |name = NX_GetRandom |returnType = int |arguments = {...")
< [[::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
(int) NX_GetRandom Min:int Max:int
Example
int iValue let iValue := NX_GetRandom 1, 5 ; * for 1, 2, 3, 4 or 5