Page 1 of 1

Embedded Scripts in 5.2

Posted: Sun Jun 26, 2005 7:17 am
by Toontoonz
I am looking forward to seeing some examples of the embedded scripts that one can use.

I can not write scripts - I do not have the brain power to accomplish it.

I am curious to see examples of them working, because right now I have a problem grasping their usefulness.
For example, one can supposedly write a script so that object A points at object B. But why couldn´t I just do that by hand? And won´t there be lots of unpredictable problems that occur - such as it points in a manner one does not want or one can´t turn it off at a later point in the animation. Or it conflicts with the "face the camera" function? Or it does not work well for 2D objects in a 3D environment.

I look forward to seeing what people come up with. When people write the scripts I hope they include a sample animation to show how it works.
Because if it is good and useful you can count on at least one person here using it!

Posted: Sun Jun 26, 2005 7:31 am
by Toontoonz
Dumb question: In which scripts folder does one place the embedded script .lua file:
-Menu
-Tool
or
-Utility?

Posted: Sun Jun 26, 2005 7:57 am
by Rai López
Like that kind of script is not accesible by menu, you can put it where you want or prefer... I personally have created a new folder named Embedded inside script folder of moho directory...

Posted: Sun Jun 26, 2005 8:08 am
by Toontoonz
Thanks! And good idea for the new folder.

Posted: Sun Jun 26, 2005 11:07 am
by Lost Marble
If you plan to write re-usable scripts, you could put them in the embedded folder. On the other hand, if you write an embedded script that is very specific to one particular Moho animation, I would keep it in the same folder as the Moho file itself.

Posted: Sun Jun 26, 2005 11:49 am
by Rai López
Yes, that's true, to maintain the paths if you move your proyect of one location to another... THANK YOU! (for this and for all).