[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Random starting point in SRN sequences


Create a ScriptProcess in the init_procs of your SequenceProcess --
then put something like this as the script code (you can just type it
into the script_string):

owner.owner.tick.val = Random::IntZeroN(20);

owner.owner is cuz the owner of the script process is the init_procs
group, and then the owner of that group is the SequenceProcess.  You
could make the 20 value (gives random #'s 0-19) an argument using
s_args so you can twiddle it easier.

				- Randy