Version 6 scripting interfaces
Moderators: Víctor Paredes, Belgarath, slowtiger
- Lost Marble
- Site Admin
- Posts: 2354
- Joined: Tue Aug 03, 2004 6:02 pm
- Location: Scotts Valley, California, USA
- Contact:
Version 6 scripting interfaces
*** UPDATED ***
*** The scripting interface for version 6.1 is included below as well. ***
I said I'd post some info on scripting in version 6. And here we go...
The link below is the totally complete scripting interface. However, it's in a format similar to a C++ header file. There are no descriptions included. This is kind of meant for advanced scripting users. If you're new to scripting, it's probably best to start with the old version 5 scripting documentation.
There are three files included:
pkg_moho.lua_pkg - Start with this one. It describes the scirpting interface to Anime Studio. What functions and values are available for a layer, a bone, etc.
pkg_lm.lua_pkg - This one describes basic types used by Anime Studio. Vectors, 2D points, colors, etc.
pkg_lm_gui.lua_pkg - Contains the data structures used for building UI elements and drawing on the canvas.
Version 6.0 scripting interface:
http://my.smithmicro.com/downloads/file ... rfaces.zip
Version 6.1 scripting interface:
http://my.smithmicro.com/downloads/file ... rfaces.zip
Not: I've included the interfaces for both 6.0 and 6.1. 6.1 has a few new functions not available in 6.0. But since 6.1 is a free update with lots of bug fixes, there's really no reason to limit yourself to 6.0, so for most people I'd say go ahead and use the 6.1 interfaces unless you have some real pressing reason to stick with 6.0.
*** The scripting interface for version 6.1 is included below as well. ***
I said I'd post some info on scripting in version 6. And here we go...
The link below is the totally complete scripting interface. However, it's in a format similar to a C++ header file. There are no descriptions included. This is kind of meant for advanced scripting users. If you're new to scripting, it's probably best to start with the old version 5 scripting documentation.
There are three files included:
pkg_moho.lua_pkg - Start with this one. It describes the scirpting interface to Anime Studio. What functions and values are available for a layer, a bone, etc.
pkg_lm.lua_pkg - This one describes basic types used by Anime Studio. Vectors, 2D points, colors, etc.
pkg_lm_gui.lua_pkg - Contains the data structures used for building UI elements and drawing on the canvas.
Version 6.0 scripting interface:
http://my.smithmicro.com/downloads/file ... rfaces.zip
Version 6.1 scripting interface:
http://my.smithmicro.com/downloads/file ... rfaces.zip
Not: I've included the interfaces for both 6.0 and 6.1. 6.1 has a few new functions not available in 6.0. But since 6.1 is a free update with lots of bug fixes, there's really no reason to limit yourself to 6.0, so for most people I'd say go ahead and use the 6.1 interfaces unless you have some real pressing reason to stick with 6.0.
Last edited by Lost Marble on Wed Oct 28, 2009 7:15 pm, edited 2 times in total.
- synthsin75
- Posts: 10253
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
synthsin75, don't be ashamed about the format. It is exactly the same as the old html documentation but without explanation of what does the fucntion do.I've got to try to figure out how this stuff is presented here to make sense of it
They have the C++ looking of the declarations of the functions and members that are available in each object. Just that they are properly written, you know now the correct order on the function call and some of the new interface.
Compare it side by side with the old html documentation and you'll be do happy.

This thread should grow with the clarifications of each new interface exposed to have all the info in the same place.
-G
Ahhh ok... what is this exactly
Hi all,
I have the scripting interface(s)... yay!
SO... now that I have them... what are they, exactly... how do I see them... how do I use them?
Perhaps there is a nubie scripting thread somewhere?
Thanks!
I have the scripting interface(s)... yay!
SO... now that I have them... what are they, exactly... how do I see them... how do I use them?
Perhaps there is a nubie scripting thread somewhere?
Thanks!