After reading th manual, which was good at explaining what a function does, but not how to actually make one, I found this thread:
scirra.com/forum/function-object-vs-function-plugin_topic59653.html That got me further to where I have a working function.
However, I have other questions:
1) Can a function be on a different event sheet (for organizational purposes)? I tried just making another event sheet and put my function there, but that didn't work.
If the functions can't be put on a different event sheet, is there some way to put them 'out of the way' so that the event sheet isn't a mess when your scripting starts getting massive?
2) When I created my function object, I called it 'OrbitCalc' But then I was asked to name it again in a window called "Parameters for Orbitcalc: On Function", with explanation text of "The name of the function that is being called." and a field labeled "Name". Didn't I name it 'OrbitCacl'? What is this extra bit of information for? I found that if the calling event (which also asks for this info) and the "Name" don't match, the function won't run. I don't understand what the extra step is for.