Search found 174 matches

by Stan
Mon Aug 31, 2015 11:18 pm
Forum: Scripting
Topic: reload scripts without exiting AS
Replies: 10
Views: 5365

Re: reload scripts without exiting AS

It's Ctrl+Alt+Shift+L now. And it's configurable via the Help menu.
by Stan
Wed Jul 08, 2015 3:46 pm
Forum: Scripting
Topic: Target Bone keying
Replies: 2
Views: 1716

Re: Target Bone keying

bone.fTargetBone is an AnimVal that contains the ID of the current target bone. So, this should get you the target bone: local currentTargetBoneID = bone.fTargetBone.getValue(moho.layerFrame) local currentTargetBone = skel:Bone(currentTargetBoneID) Then you can manipulate the target bone's keys as u...
by Stan
Fri May 29, 2015 1:32 am
Forum: Scripting
Topic: ASP11: tool script not working if there's no OnMouseDown
Replies: 0
Views: 1970

ASP11: tool script not working if there's no OnMouseDown

Some of my tool scripts are stopped working in 11 without any visible error. The symptoms are simple: you click on the tool icon, and nothing happens. It took me a while to find the reason - the failing scripts didn't have the OnMouseDown method. So, if your scripts are not working in ASP 11, try th...
by Stan
Tue Oct 14, 2014 5:51 pm
Forum: Scripting
Topic: Smart Bone Helpers by Ramón López
Replies: 51
Views: 43899

Re: Smart Bone Helpers by Ramón López

It is kind of a "mend" but it should do the job for 10.1.1, anyway... let me know whatever you consider appropriate. Greetings! Hey Ramon, I just want to add my 2 cents. Here's how I solved the same problem in my scripts: if moho.AppVersion ~= nil then local sVersion = string.gsub(moho:Ap...
by Stan
Sun Jun 09, 2013 2:21 am
Forum: Tips & Techniques
Topic: A counter
Replies: 10
Views: 3328

Re: A counter

Anyway, thank you Slowtiger for sharing your tip. I'm sure it will be useful for many people, and it is also a good reminder for all of us old-timers that asking a question on the forum sometimes can save us from reinventing the wheel.
by Stan
Sat Jun 08, 2013 7:29 pm
Forum: Tips & Techniques
Topic: A counter
Replies: 10
Views: 3328

Re: A counter

Funny that Mike Kelley made the same thing back in 2009: http://www.kelleytown.com/forum/animato ... OPIC_ID=59
by Stan
Sat Feb 02, 2013 7:57 pm
Forum: Scripting
Topic: LM_ScrollBar - anyone know how to use it?
Replies: 12
Views: 3828

Re: LM_ScrollBar - anyone know how to use it?

They are all written in lua but none of them have sliders or scroll bar There are sliders and scroll bars in the InsertText tool, but they are not created with Lua. I'm not new to scripting and I don't need a simple example, thanks. Here is my question: Is it possible to make a scrollable gui conta...
by Stan
Sat Feb 02, 2013 5:12 pm
Forum: Scripting
Topic: LM_ScrollBar - anyone know how to use it?
Replies: 12
Views: 3828

Re: LM_ScrollBar - anyone know how to use it?

videodv wrote: Just have alook at the scripts that came with the programe it will get you started.
Man, which one? Tell me, which of them is written in Lua and uses LM_ScrollBar? If such a script exists, I'd be more than happy to take a look.
by Stan
Sat Feb 02, 2013 1:41 am
Forum: Scripting
Topic: LM_ScrollBar - anyone know how to use it?
Replies: 12
Views: 3828

Re: LM_ScrollBar - anyone know how to use it?

videodv wrote:Sorry I should have said animatable or controlable.
Maybe you know where to find an example? InsertText tool is hardcoded.
by Stan
Fri Feb 01, 2013 10:56 pm
Forum: Scripting
Topic: LM_ScrollBar - anyone know how to use it?
Replies: 12
Views: 3828

Re: LM_ScrollBar - anyone know how to use it?

If so, then what is the point of having LM_Slider class and LM_ScrollBar class together? I think that scroll bars aren't suppose to be used for controlling animatable things, they are for scrolling GUI elements. Take a look at this scrollable element in the InsertText GUI: http://i592.photobucket.co...
by Stan
Fri Feb 01, 2013 8:47 pm
Forum: Scripting
Topic: LM_ScrollBar - anyone know how to use it?
Replies: 12
Views: 3828

Re: LM_ScrollBar - anyone know how to use it?

Yeah, but what can be scrolled with it, and how?
by Stan
Fri Feb 01, 2013 5:49 pm
Forum: Scripting
Topic: LM_ScrollBar - anyone know how to use it?
Replies: 12
Views: 3828

LM_ScrollBar - anyone know how to use it?

Version 9.2 added a new LM.GUI class - LM_ScrollBar. Does it mean that we can now create scrollable dialog elements?
by Stan
Tue Sep 25, 2012 2:19 am
Forum: Scripting
Topic: Scripting documentation with syntax highlighting
Replies: 1
Views: 1127

Scripting documentation with syntax highlighting

During the last webinar they promised to release a new documentation for the scripting in the Anime Studio. Until then, we have what we have - the half-obsolete old moho 5 documentation and the all-new fancy dump-files. So, I added some html-markups to the dump-files from the last two versions of An...
by Stan
Fri May 04, 2012 5:10 pm
Forum: General Moho Discussion
Topic: Webinar Video Posted - Character Rigging with Victor Paredes
Replies: 7
Views: 1104

InfoCentral wrote:BTW, why wasn't this webinar posted on the forums in advance like all the other ones? Strange...
I second that question! I thought this forum is the best place to get news about the program. Was I wrong?
by Stan
Tue Jan 31, 2012 11:58 pm
Forum: General Moho Discussion
Topic: Forum Member Sadly Missed
Replies: 37
Views: 6289

Very sad news.

Rest in peace, Rhoel.