Code: Select all
Item 1
Item 2
Item 3
etc.
Is there a way to do this without actually putting a carriage return in my code? (And if I do, would it break switching between Windows and Unix?)
Kinda relatedly: Is there any way now, without cvar abuse, to reference one player's local file and then broadcast that set of data to the entire game so it doesn't desync even though each player's file is different?
EDIT: I just noticed this works fine (logs a single "a" with no whitespace):
Code: Select all
string hahahaha="a
b
c
";
array<string> aha;aha.clear();
hahahaha.split(aha,"\n");
A_Log(aha[0]);