G General

Floating Text Notecard-Configured Super-Flexible Script Boxed

Floating Text Notecard-Configured Super-Flexible Script Boxed
Details
Features
Contents
Reviews

The Super Floating Text Script enables your objects to have any number of changing floating text lines, with changing colors, cycled at a time interval of your choice.

Optionally add a fade out/in feature and a blink feature.

You can also add alternate floating text to show when your object is touched, which can include the name of the person touching it.

The following parameters can be added:

changetime
This sets the change cycle for your floating text line, and/or floating text color, to change.

text
The text line that you want to display as floating text. Any number of text parameters can be entered, They will be cycled through in the order that they are entered in the parameter list, at a time interval set by the changetime parameter. To split your text onto a new line, use %n within your text.

magenta
Any number of color parameters can be entered. They will be cycled through in the order that they are entered in the parameter list, at a time interval set by the changetime parameter. Use the default colors or enter your custom color vector.

fade
Makes your floating text fade off and the next text line will fade on at a time interval set by the changetime parameter.

blink
Make your floating text blink off and on at a time interval set by the changetime parameter. The number following the blink parameter will set the number of times the floating text will blink.

touchtext
Sets the text line that you want to display when your object is touched. The touchtext line can contain the name of the person that touches your object. Use %f to insert the first name and %s to insert the surname in the touch floating text.

touchtime
Sets the time that your touchtext is displayed.

touchcolor
Sets the color that you want the touch text to be display in.

end
This parameter ends the parameter list. Any lines following this parameter on the setup notecard are ignored.

EXAMPLES follow. Please IM Dolphin Shinn if you need help.

Display the floating text: 'Example 1', in red for 30 seconds, then yellow for 30 seconds.

changetime 30.0
text Example 1
red
yellow
end

Display the floating text:
'Example'
'2'
in orange and have it fade off and fade on again every 60 seconds.

changetime 60
text Example%n2
< 1.0, 0.5, 0.0 > orange
fade
end

Display the floating text: 'Touch for my message', in blue and have it blink off and on 2 times every 10 seconds.
When the object is touched by Dolphin Shinn, display the floating text: 'Have a nice day, Dolphin' in white for 5 seconds.

changetime 10.0
text Touch for my message
blue
blink 2
touchtext Have a nice day, %f
end

Display the floating text: 'Right Click and select 'Buy'', in magenta for 20 seconds, then pink for 10 seconds.
When touched by Dolphin Shinn, display the floating text: 'Dolphin Shinn, it is a nice item to buy.' in red for 10 seconds.

changetime 10.0
text Right Click and select 'Buy'
magenta
text Right Click and select 'Buy'
magenta
text Right Click and select 'Buy'
pink
touchtext %f %s , it is a nice item to buy.
touchtime 10
touchcolor red
end

Display as floating text, the first verse of The Star Spangled Banner, line by line.
Change to the next line every 10 second and display in red, white then blue, alternatly.
Have each line fade off, then the next line fade on and blink once.

changetime 10.0
text Oh, say can you see by the dawn's early light
text What so proudly we hailed at the twilight's last gleaming?
text Whose broad stripes and bright stars thru the perilous fight,
text O'er the ramparts we watched were so gallantly streaming?
text And the rocket's red glare, the bombs bursting in air,
text Gave proof through the night that our flag was still there.
text Oh, say does that star-spangled banner yet wave
text O'er the land of the free and the home of the brave?
red
white
blue
fade
blink 1
end

See item in Second Life