Rand

From the Fallout3 GECK Wiki
Revision as of 11:57, 28 June 2014 by imported>Odessa
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the New Vegas Script Extender.

Description

Returns a random float between specified minimum and maximum. Added by NVSE V1.6.

Syntax

[help]
(float) Rand Minimum:float Maximum:float

Example

float fCount
set fCount to Rand 1, 10

See Also