| 10-11-2003, 07:29 PM | #1 |
Well, it took me about 10 minutes to come up with an idea and 10 minutes to finish it. Feel free to use it in your map or suggest some better way of doing it. But take notice that you need to change the integer amounts for how many characters are in the string. I'm not sure why, but making the counter 20 instead of 22 made it work properly. So I guess you have to minus 2 from the total amount of characters in your string too. Globals: string[] counter[] //string[1]=This is a simple test. Code:
Text Display
Events
Player - Player 1 (Red) skips a cinematic sequence
Conditions
Actions
For each (Integer A) from 1 to 22, do (Actions)
Loop - Actions
For each (Integer B) from 2 to 22, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
counter[1] Less than or equal to 20
Then - Actions
Cinematic - Clear the screen of text messages for (All players)
Game - Display to (All players) for 30.00 seconds the text: (Substring(text[1], (Integer A), (Integer B)))
Wait 0.50 seconds
Set counter[1] = (counter[1] + 1)
Else - Actions
Do nothingCould someone possibly move this to the Repository after suggestions have been made to it? |
