Help With Text Display
Posted: 23 Mar 2017 18:45
Hi Everyone,
So I made a fader that as it moves changes the text of a text object. However when I get above 64 different texts it gets weird and doesn’t display properly. Can you check that I wrote out my code right? I’m worried that the rounding thing is wrong. I’m hoping to have the ability to get 128 different phrases.
Here is my code:
FYI my co-worker has a sense of humor and put someones name as the variable so that’s what the tyler is there for.
decl text,tyler;
tyler = round(x*128);
if (tyler==0) text = 'No Expression Map';
else if (tyler==1) text = 'Brass Ens Shorts (CB)';
So I made a fader that as it moves changes the text of a text object. However when I get above 64 different texts it gets weird and doesn’t display properly. Can you check that I wrote out my code right? I’m worried that the rounding thing is wrong. I’m hoping to have the ability to get 128 different phrases.
Here is my code:
FYI my co-worker has a sense of humor and put someones name as the variable so that’s what the tyler is there for.
decl text,tyler;
tyler = round(x*128);
if (tyler==0) text = 'No Expression Map';
else if (tyler==1) text = 'Brass Ens Shorts (CB)';