Forum Replies Created

  • Shin Huynh

    February 29, 2020 at 1:26 am in reply to: Count number of markers with the same name

    Thank you so much , you’re always my savior, Dan .????????????????????????

  • Shin Huynh

    September 22, 2019 at 5:20 am in reply to: Create interval tweens by pairs of markers

    yeah , now i understood all your script lines , but it’s difficult to figure out the idea to make the script , loop in expression is hard to understand , you made an increasement loop , and i used a count down one , you got a smooth solution ????????????

  • Shin Huynh

    September 21, 2019 at 3:32 am in reply to: Create interval tweens by pairs of markers

    You such a talent , Dan , i was waiting for your reply
    it works perfectly
    could you explain your method ?

    actually i created my own from Expression for IN and OUT opacities i mentioned and it worked , but it used nearestkey and linear so i had to break the tween into 2 parts ,from “IN to the middle” and “the middle to OUT” then among the tweens i need to stop the value ,
    i’m an animator not a developer , but i like to use scripts for my tasks , here is my script , it’s so confused but luckily it worked , you can check and correct it

    m = 0; // marker index
    fadeFrames = 0;
    Finalvalue = value[0];
    Incount = -100;
    t = time;
    if (marker.numKeys > 0)
    {
    m = marker.nearestKey(time).index;
    tag = marker.key (m).comment;
    n=m;
    while (n>0)
    {
    tagn = marker.key (n).comment;

    if (tagn == "In" && time>=marker.key(m).time)
    {
    Incount = Incount+100 ;
    }
    else if (tagn == "Out" && time=marker.key(m).time) ||(tag == "Out" && time

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy