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

Text Messages not showing properly

Status
Not open for further replies.
Level 3
Joined
Apr 4, 2020
Messages
31
Hello,

i've been creating a hero pick system for my map wich requires the player to use arrow keys to view the existing heroes. Every hero has a certain description that shows via a text message.
The editor shows me everything is fine in preview but messes up the spacing in game.
  • Set VariableSet HS_Hero_Descrip[1] = Stormchaser|n|nStr: 17 (+1,9)|nAgi: 35 (|cff808000+3,8|r)|nInt 24 (+2,9)
Does anyone know how to fix this?
 

Attachments

  • MSG_Editor.png
    MSG_Editor.png
    15.9 KB · Views: 31
  • MSG_Game.png
    MSG_Game.png
    1,011.8 KB · Views: 35
Level 19
Joined
Jan 1, 2018
Messages
739
You can try escaping the newline with \ instead of |.
This probably won't work in GUI so you'll have to use a custom script instead: set udg_HS_Hero_Descrip[1] = "Stormchaser\n\nStr: ..."
 
Status
Not open for further replies.
Top