Developer Documentation Library > 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 value is 0.
(return)
Type: Long
New rotation state value.
Notes
<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