the spiral motion function has to go in the mainscreen script area to test and debug.
has all the capabilities of running debugging and single stepping though the code.
use on the reduced screen on the left "script window" clicking on the line and hitting run will call the script (make sure you ran (buttons at top) and re-registered the mainscreen scripts)
the function has to be declared as a global function so the script call can find it.
if you pasted like I provided it should work fine. (as all functions have to be declared and then ended with a "};")
quick tip to get to and out of the scripter is "Ctrl Alt S"
there is a series of buttons at the top:
you have to "toggle on" then "check out script" mainscreen then hit checkout
make sure you run the whole script and re-register it.
You can place a "debug();" in the function and it will stop and let you step thru it. you can call the function from within the main screen. When your getting the output you desire you close the scripter and your good to go. Bottom of the scripter you will see the print output statement or they go to the log too. There will be all kinds of locations you will put code, example is under a button.
Art will create many more videos on how to do all this, so don't get too frustrated. I was attempting to show what could be done and might have gotten a little ahead of Art, or you were not following my vague screens. Sorry, good to see your attempting scripting.
In the next release Art has insured me that he wont forget the documentation on monkey scripting. As it is a great resource. At the bottom of the scripter you will find common and global functions that are available and when you create a function it gets added to the list. Its taken me months to grasp all this and we went down some bad roads. ::) but we learned what worked and what did not.
Art, "the Sockless Hermit is a Genius"

I'm the guy with the boot in his ___
Not really, we've had a lot of fun with this project
the spiral motion function has to go in the mainscreen script area to test and debug.
has all the capabilities of running debugging and single stepping though the code.
use on the reduced screen on the left "script window" clicking on the line and hitting run will call the script (make sure you ran (buttons at top) and re-registered the mainscreen scripts)
the function has to be declared as a global function so the script call can find it.
if you pasted like I provided it should work fine. (as all functions have to be declared and then ended with a "};")
quick tip to get to and out of the scripter is "Ctrl Alt S"
there is a series of buttons at the top:
you have to "toggle on" then "check out script" mainscreen then hit checkout [b]make sure you run the whole script and re-register it[/b].
You can place a "debug();" in the function and it will stop and let you step thru it. you can call the function from within the main screen. When your getting the output you desire you close the scripter and your good to go. Bottom of the scripter you will see the print output statement or they go to the log too. There will be all kinds of locations you will put code, example is under a button.
Art will create many more videos on how to do all this, so don't get too frustrated. I was attempting to show what could be done and might have gotten a little ahead of Art, or you were not following my vague screens. Sorry, good to see your attempting scripting.
In the next release Art has insured me that he wont forget the documentation on monkey scripting. As it is a great resource. At the bottom of the scripter you will find common and global functions that are available and when you create a function it gets added to the list. Its taken me months to grasp all this and we went down some bad roads. ::) but we learned what worked and what did not.
Art, "the Sockless Hermit is a Genius" ;) I'm the guy with the boot in his ___
Not really, we've had a lot of fun with this project