• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

New Lines in String Messages

Level 1
Joined
Apr 4, 2026
Messages
2
I am attempting to create a text message to a player that updates their quest progress, as I have seen done in the official campaigns.

However, the |n function doesn't seem to actually translate to a new line when it displays ingame. Instead, the |n script just appears as part of the message. This is strange as it appears correctly in the preview.

I am using version 1.31

Is this a bug? Is there GUI based workaround to achieve this?
 
I was doing it with regular text message, but that helps. Thank you.

I was trying to concatenate strings to include an integer reference, but I've instead just sort of brute forced it with If/Then functions.
 
Yeah, there are 3 options total:
1. use "|n" placeholder
2. use actual new line character, maybe copied from somewhere (\n in C programming language). Note: on Windows a new line is usually represented of two characters instead of one: \r\n
3. nothing works

If option1 doesn't work, try 2. Else you really hit a limitation.
The preview emulates the special codes, it doesn't mean the actual game functions all support it :/ This will now never be fixed. The old new team is gone.
 
Back
Top