Page 1 of 1

Actions timeline and normal timeline?

Posted: Tue Mar 22, 2016 9:02 am
by lehtiniemi
How do you manipulate action timeline? I mean, what's the structure? There seems to be function ActivateAction (or something like that) that "activates action timeline for editing". What does this mean?

Let's say I activate action for a bone layer. Does every keyframe I add to any layer under the bone layer go into action timeline I activated? And I just leave by ActivateAction(--- Mainline ---)? Or how does it work?

Re: Actions timeline and normal timeline?

Posted: Tue Mar 22, 2016 10:43 am
by synthsin75
Yes, once you've activated an action timeline, and keyframes will be added to the action. ActivateAction(""), with an empty string, returns to the main timeline.

Re: Actions timeline and normal timeline?

Posted: Tue Mar 22, 2016 3:12 pm
by Stan
ActivateAction(""), with an empty string, returns to the main timeline
I think it's ActivateAction(nil), not an empty string.

Re: Actions timeline and normal timeline?

Posted: Tue Mar 22, 2016 3:55 pm
by synthsin75
Stan wrote:
ActivateAction(""), with an empty string, returns to the main timeline
I think it's ActivateAction(nil), not an empty string.
You're right. An empty string just creates an unnamed action. I got that confused with the test for the mainline: (moho.layer:CurrentAction() ~= "")

Re: Actions timeline and normal timeline?

Posted: Wed Mar 23, 2016 3:45 am
by lehtiniemi
EDIT: Thanks! :)