TerrainBuilder.GetRandomNumber

this function is a member of TerrainBuilder this method can be invoked with .


Usage

UIScriptReturnsFunctionArguments
RandomInteger [number]TerrainBuilder.GetRandomNumberMaxInteger [number]
Reason [string]

Notes

Returns a random integer between 0 and MaxInteger [number] - 1 inclusive. So if you feed in 2 as a parameter, it returns either 0 or 1.