How to adapt a script for Anime Studio 7 (solved)

Moho allows users to write new tools and plugins. Discuss scripting ideas and problems here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
super8mm
Posts: 340
Joined: Sun Oct 12, 2008 11:22 pm

How to adapt a script for Anime Studio 7 (solved)

Post by super8mm »

Fazek's Translate points bones tool

Work perfectly in 6 but in 7 I get many error messages such as:

attempt to index global FA_SharedUtils' (a nil value)
attempt to index field autoWeldCheck' (a nil value)

Is it just syntax or a simple modification or is it unusable in 7?

[edit]
Turns out I was missing the utility files. :oops: :roll:
Last edited by super8mm on Fri Sep 24, 2010 2:01 am, edited 1 time in total.
User avatar
Peteroid
Posts: 162
Joined: Thu Aug 12, 2010 3:57 am
Location: las vegas, NV
Contact:

Re: How to adapt a script for Anime Studio 7

Post by Peteroid »

super8mm wrote:Fazek's Translate points bones tool

Work perfectly in 6 but in 7 I get many error messages such as:

attempt to index global FA_SharedUtils' (a nil value)
attempt to index field autoWeldCheck' (a nil value)

Is it just syntax or a simple modification or is it unusable in 7?
It is syntax. The way AS5 and AS7 set up controls is done with the same call, but each uses a different syntax.

The fix is not hard, but it means you can't have one version that works in both AS5 and AS7.

I have no experience with AS6, so do not know how it fits into this (might have its own format, might be the same as either AS5 or AS7)...
[==Peter==]
chucky
Posts: 4650
Joined: Sun Jan 28, 2007 4:24 am

Post by chucky »

Looks like a huge job to search and destroy all those script Syntax changes.
Maybe a translator script could reinterpret .

Does Google translate speak lua? :P
Post Reply