Updating text objects in scenes
You can update the text in any of the text sources in your scenes...
The command to update a text source is text
The parameters are;
- source=<text source name> (case sensitive)
- text=<new text>
- break=<line break text> (optional - added in lua script v2.1.19)
- delay=<time> (optional)
The optional break parameter allows you to specify text that should be replaced with line breaks.
The optional delay specifies a time (in milliseconds) to wait before running the command.
Example - update a text source named MsgBoxText.
Set the source text text source=MsgBoxText text=Competition Time! |
Added in v2.1.19 of the Lua script, you can specify text to be used as a line break.
Example - update a text source with multiple lines of text
Update text with line breaks
text
source=TextData
break=<br>
text=Some test text<br><br>with<br>line breaks
|