Page 1 of 1
Is there any scripting program i can use to write scripts
Posted: Mon Jan 05, 2015 4:35 pm
by 707dragon707
I have a debut version and i would like to try writing scripts. is there any lua console or something can use.
Re: Is there any scripting program i can use to write script
Posted: Mon Jan 05, 2015 5:32 pm
by hayasidist
you need a text editor e.g. notepad / notepad++ / wordpad
Re: Is there any scripting program i can use to write script
Posted: Mon Jan 05, 2015 8:46 pm
by 707dragon707
hayasidist wrote:you need a text editor e.g. notepad / notepad++ / wordpad
I have notepad and wordpad, now how do I make it a LUA file to be compatible with Anime Studio.
Re: Is there any scripting program i can use to write script
Posted: Tue Jan 06, 2015 2:10 am
by hayasidist
do you already know how to write programs? if the answer's "no", you'll need to learn. Try starting here:
http://code.org/learn/beyond
do you know LUA? Here's a link to the LUA manual:
http://www.lua.org/manual/5.2/
do you know how to interface LUA to Anime Studio? If not, you could start here for the reference manual:
http://www.animestudioscripting.com/ani ... -reference (that manual is for AS Pro, but you can still write and use scripts in Debut.)
and here for some practical tips:
http://gcharb2d.blogspot.co.uk/search/label/Scripting
When you get into actually writing a script and hit a wall, just ask...
Re: Is there any scripting program i can use to write script
Posted: Tue Jan 20, 2015 8:38 pm
by 707dragon707
When it says void is that where you hit tab, write what moule your using, or whats the deal with both the void and scripts being indented in certain places.
Re: Is there any scripting program i can use to write script
Posted: Tue Jan 20, 2015 9:11 pm
by synthsin75
"void" means that the command does not return a value, so if you assign it to a variable, it will have nothing to pass to that variable.
Indenting is just a common way to keep track of what is called scope (the section of code where a local variable is valid). Such a section in Lua often starts with "if" and ends in "end". Indenting helps keeps track of which "end" goes with which "if".