String array?
Posted: Thu Jan 05, 2006 7:34 pm
I have a bunch of names in a string array
on mouse up event a random name should be printed in a text actor
but the text actor just disapears, what am i doing wrong?TIA
- Code: Select all
strcpy(Name[0],"Tom");
strcpy(Name[1],"Sally");
...
on mouse up event a random name should be printed in a text actor
- Code: Select all
strcpy(textActor.text,Name[RandNum]);
but the text actor just disapears, what am i doing wrong?TIA