lisztfr9
27th May 2014, 23:32
I would like to assign different values to variable T, inside a clip :
function toogle(float T) {
return (T<10) ? 30 : (T>20) ? 100 : 15
}
S = ScriptClip(S, "Subtitle(String(toogle(current_frame)))")
This works well, but seems limited to a few changes, isn't there a easier way to proceed ? A dedicated one ? i'm certainly missing something obvious.
Thanks a lot,
L
function toogle(float T) {
return (T<10) ? 30 : (T>20) ? 100 : 15
}
S = ScriptClip(S, "Subtitle(String(toogle(current_frame)))")
This works well, but seems limited to a few changes, isn't there a easier way to proceed ? A dedicated one ? i'm certainly missing something obvious.
Thanks a lot,
L