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

Wc3 linebreaks and other tags. help

Status
Not open for further replies.
Level 5
Joined
Feb 24, 2009
Messages
110
So far I know the color one |c########|r

Ive seen there is a linebreak one which is suppose to be "|n", but it wont work in my triggers.

  • Game - Display to (All players) the text: A|n B |n C
doesnt take the linebreak as commands


Is there any other codes?
Please explain me how to use the linebreaks, specially with
  • Game - Display to (All players) the text: (String 1 + String 2)
 
Level 14
Joined
Nov 18, 2007
Messages
1,084
Ex:
  • Custom script: call DisplayTextToPlayer(GetLocalPlayer(),0,0,"Yo ho" + "\nYo Ho")
In your case:
  • Custom script: call DisplayTextToPlayer(GetLocalPlayer(),0,0,udg_String_1 + "\n" + udg_String_2)
Note: It must be \n not |n (the one that works in the Object Editor).


I don't remember if there were any extra ones.
 
Status
Not open for further replies.
Top