• 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.

Line Break not working...

Status
Not open for further replies.

Chaosy

Tutorial Reviewer
Level 41
Joined
Jun 9, 2011
Messages
13,239
It's \n not |n.

Try putting this in a custom script.
call BJDebugMsg("Hello \n world")

It is possible that it doesn't work in GUI, not quite sure.

edit: confirmed it does not work in GUI normally. You could do this though:
  • Untitled Trigger 001
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Custom script: set udg_some_string = "Hello \n World!"
      • Game - Display to (All players) the text: some_string
 
Status
Not open for further replies.
Top