Scrolling Text in label

Is it possible to make the sentence text in a label scroll from left to write?
I've come across someones script before where they had some animated text in the ui but I'm not sure where or whose it was.

Anyone have any ideas on ways to do this?

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
LittleLordPotala's picture

Hi JokerMartini,

For scrolling text from left to right,
Try the attached script...

AttachmentSize
scrollingtext.ms 509 bytes
Anubis's picture

timer?

Is it something like this?
(just a sketch idea, not tested)

local message = "Hello"
 
label animLabel "Hello"
 
on myClock tick do
(
	if message.count > 1 then
		message = substring message 2 -1
	else
		message = "Hello"
	animLabel.text = message
)

my recent MAXScripts RSS (archive here)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.