Page 1 of 1

Python - Feed text into Motext

Posted: Wed Oct 14, 2020 12:22 am
by AltoFlash
Hi, I need to have a Motext cycle a list of words, kind of like keyframing the "text" box, but in a more code-y way, so i can tinker with the timings with just a little code edit, instead of dealing with the dope sheet, which can be a little cumbersome.


I thought there might be a neat python script for this, since i've been looking for the way to do it with Xpresso, to no avail.

Re: Python - Feed text into Motext

Posted: Wed Oct 14, 2020 5:24 pm
by masterzone
I think "Cappellaio Matto" , Matteo from our development plugin staff, can help you. I send a message to him and maybe he will replay to you during free time :)

Re: Python - Feed text into Motext

Posted: Thu Oct 15, 2020 2:05 pm
by visualtricks
Hi, you'd probably give us more details for a useful answer:
how do you want to control the word change? Should it change automatically? Should it change every frame or you need to control the duration of each word?
Provide some info and/or better tell us what's the main goal, I'm sure we can work something out.

Ps.
I'm thinking you might just achieve the same result with a cloner in Sort mode and a linear effector