Hi, I'm rather new to SCAR (currently learning how to script, know some basics), and I'm trying to make an array of strings for an autotalker with random chat. I've set the array like this...
And I get an error for Duplicate identifier 'TextString'Code:const NumberofTexts = 5; var TextString: array[0..(NumberofTexts-1)] of String; TextString[0] := 'fill'; // Fill out what you want the autotalker to say here (If BegType is not used) TextString[1] := 'this'; // '' TextString[2] := 'out'; // '' TextString[3] := 'with'; // '' TextString[4] := 'text'; // ''
Somebody mind helping me out with this? I have a feeling it was something to do with maybe me not setting up the array for string, but I'm not sure. If additional code is needed i'll be happy to supply.



Reply With Quote






