by ibm5155 » Fri Oct 09, 2015 8:06 am
the way zdoom string Works is really weird, a char atribute would be really welcome.
but from what I understand, is like each string is stored into a single global matrix pointer, so the given number will be just the position of the script on that vector
like
strings[0] = "YES";
strings[1] = "NO;
strings[2[] = "E1M1".
if I remember if you do something like x = string[0]+string[1], x would have the result "YESNO" and it would add a new pointer with the name "YESNO"
the way zdoom string Works is really weird, a char atribute would be really welcome.
but from what I understand, is like each string is stored into a single global matrix pointer, so the given number will be just the position of the script on that vector
like
strings[0] = "YES";
strings[1] = "NO;
strings[2[] = "E1M1".
if I remember if you do something like x = string[0]+string[1], x would have the result "YESNO" and it would add a new pointer with the name "YESNO"