|
Tiberian Technologies Scripts Reference Revision: 9000
|
Reads text from a file and displays it to the screen, \ the text in a file is broken every 150 characters (tries to end the current word) and then delayed by 6 seconds \ Note: This will only work once because of how it works \Custom - Custom to trigger this script on \FileName - Name of the file to read from \TextTag - Name of the tag to grab text from \MessageColor - Color to display the chat message in \LineDelayTime - Delay between each message displayed \UISound - 2D sound to play when custom received \Repeatable - Allows the script to trigger more than once \File Format Example [Tag] Text typed here will be displayed for this tag when the custom is received, the line can be up to 16384 characters long. [AnotherTag] Use this character ''(there is a character in there, you'll have to copy it out) to end the line, you can also use a bunch of them to add a delay to the message. [LastTag] The expected format of the file is always Tag Line Tag Line, never add blank lines or new line returns in tag text. More...
#include <jmgUtility.h>