Scripting > UNICOM Intelligence Function Library > List functions > SetRotationSeed
 
SetRotationSeed
This function sets the rotation state. This is stored by the mrScript engine and Evaluate component and passed to the Rot function.
Syntax
SetRotationSeed([Seed])
Parameters
Seed
Type: Long
Optional. Rotation state value. The default is 0.
(return)
Type: Long
New rotation state value.
Remarks
Seed can be any Long value, positive, zero, or negative. This function sets the rotation state for the Rot function.
Example
This example sets the starting point for rotations to 3.
SetRotationSeed(3)
See also
Rot
List functions