ResultVariable
When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.
See also: Related Actions
Math.RandomSeed
OverviewExamples
Math.RandomSeed ( number Seed )
De s cr ip t ion
Seeds the random number generator used by Math.Random.
If you use the same seed, you will produce the same sequence of pseudo-random numbers. In order to ensure a unique sequence of random numbers, use a unique seed value such as the current time and date.
Note: The random number generator is automatically seeded with a unique value using the current date and time when the application is started.
P arame t er s
Seed
(number) The seed value.
Re t u r n s
Nothing.
See also: Related Actions
Math.RGBToNumber
OverviewExamples
number Math.RGBToNumber ( number Red,
number Green,
number Blue )
De s cr ip t ion
Returns the number color value from an RGB color value.
P arame t er s
Red
(number) The red value (between 0 and 255) that you wish to convert.