Defined in MoveCycle.sc.
A cycler that progresses through an explicit set of cels. See the init() method for more information about parameters.
; Defined at the top of the script: (local [celList 5] = [3 6 2 1 $8000]) // $8000 indicates the end of the cel list. ; Then in code: (aStar setCycle: MoveCycle celList) // cycle through 3, 6, 2, 1 then stop.
Defined in MoveCycle:
init(theClient thePoints [theCaller cycleDir])
- theClient (heapPtr) – The object to which the cycler is attached.
- thePoints (heapPtr) – An array of cels.
- theCaller (heapPtr) – An optional object that will be cued when we’re done.
- cycleDir (number) – 1 to go forward, or -1 to go backward.