|
|
|
Online Scripting Reference
|
|
getRnd
|
Purpose
|
Generate a random number within a specified range.
|
|
Syntax
|
getRnd var {lowestValue} {highestValue}
var: A variable to hold the random number.
{lowestValue}: The lowest possible value for the generated number.
{highestValue}: The highest possible value for the generated number.
|
|
Notes
|
For a good working example of this command, see 1_Scout.ts.
|
|
Example
|
|
Return to item listing |
|
|