• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Scrolling text

Status
Not open for further replies.
Like game massages or like floating text?

Game massages would be easier to trigger, floating text would look more, well, floating.
 
In that case, I would do it like this:

  • Sequence
    • Events
      • Time - Elapsed game time is 0.00 seconds
    • Conditions
    • Actions
      • Video - Turn cinematic mode On for (All players)
      • Set Linenumber = 6
      • Set Line[1] = This
      • Set Line[2] = is
      • Set Line[3] = just
      • Set Line[4] = a
      • Set Line[5] = test
      • Set Line[6] = story.
      • For each (Integer A) from (Linenumber + 1) to (Linenumber + 16), do (Actions)
        • Loop - Actions
          • Set Line[(Integer A)] =
      • Wait 1.50 game-time seconds
      • For each (Integer A) from 1 to (Linenumber + 16), do (Actions)
        • Loop - Actions
          • Game - Display to (All players) for 3600.00 seconds the text: Line[(Integer A)]
          • Wait 1.50 game-time seconds
      • Video - Turn cinematic mode Off for (All players)
Line[] is a string array that stores the lines of your text. Don't make the lines too long, or it will start a new line (ingame), which looks ugly. For example, only 34 'M's fir in one line, but way more 'i's.

Linenumber is a integer that gets the number of lines your text has.
 
Status
Not open for further replies.
Back
Top