How can I make tf_gamerules display map objective text with commas?

Draco18s

L9: Fashionable Member
Sep 19, 2009
622
136
Try a \, instead. Can't guarantee that will work, but backslashes are programmer lingo for special characters. " delineates the start and end of a string, so to get a literal " you have to use \" (and you need a \\ to get a literal backslash).

But I wouldn't be surprised if Source followed that convention.
 

lana

Currently On: ?????
aa
Sep 28, 2009
3,075
2,778
I think you can use \, because game_text supports SOME escape characters. That said, you can never ever use \"

EDIT:

No, it's not possible. \ also ends the string.
 
Last edited:

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,669
because game_text supports SOME escape characters.
Except the irony here is Hammer no longer does. Some time along the way they made it so when you are typing filepaths into entity properties it auto-corrects backslashes to forwardslashes, except they failed and it applies to anything, so if you try to put Line one\nLine Two in a game_text it becomes Line one/nLine Two and fails. /angryface