Wow. How did I not know about this? Thank you very much.
Export looped clip Topic is solved
- toonybrain
- Posts: 91
- Joined: 22 Nov 2008, 17:01
- Location: Pennsylvania, USA
Re: Export looped clip
Code: Select all
// Script to set layer length to repeat for a set number of loops
tv_LayerInfo [tv_layercurrentid]
PARSE Result layerDisplay layerPosition layerOpacity layerName layerType layerFirstFrame layerLastFrame layerPrelighttable layerPostlighttable selectable editable stencil
Anim_Offset = layerFirstFrame - 1
Anim_Length = layerLastFrame - Anim_Offset
Loop_Count = 1
Loop_Min = 1
Loop_Max = 10
Loop_Title = "How many Loop?"
tv_reqnum Loop_Count Loop_Min Loop_Max Loop_Title
PARSE Result Loop_Count Loop_Min Loop_Max Loop_Title
IF ( CMP( Result, "cancel") == 1 )
exit
END
Loop_Markout = (Anim_Length * Loop_Count) + Anim_Offset
tv_markin [0] ["set"]
tv_markout [Loop_Markout] ["set"]
tv_layerpostbehavior [tv_layercurrentid] ["repeat"]
The traditional 2D animator working with local and international artists.
You can help support my work to make traditional animation, here.
You can help support my work to make traditional animation, here.