Page 1 of 1

Lua/Celx Reset User Settings example

Posted: 17.03.2004, 09:09
by don
Howdy All,

This is an example script that demonstrates the use of the Celx, automatically-executed celestia_cleanup_callback() function. This function allows your script to reset the user's settings back to the way they were when your script was first run. Once you have the file, you can simply copy and paste the code into your own Celx scripts.

http://www.donandcarla.com/Celestia/celx_scripting/CleanupExample_v1-2.celx.txt (remember to remove the trailing ".txt" from the file when saving it).

Enjoy!

[Updated April 12, 2004 to version 1.2]