hmmm okay so i fixed the text box thing and thank you for getting it to at least come down for me bee-ant. now on to my next problem ...... lol i run into alot with this text thing ive been trying to get the text to appear in sequence eg: line 1 then 2 then 3 of the global. im not getting very much progress i have been trying to change
- Code: Select all
int i=1+i;
if(Dialog==0&&ChatTime>0&&strlen(CurrD)>=strlen(FullD))
{
TypeWrite(DialogList[i]);
ChatTime--;
}
if(Dialog==0&&ChatTime<=0&&strlen(CurrD)>=strlen(FullD))
{
strcpy(text,"");
Dialog=2;
}
then going on with the standard code for the typewriter scroll text but this code seems to create an error that crashes the game. im assuming because the integer i was defined as 1 the first time but upon trying to receive the second line it cannot calculate 1+i because i is not defined by anything other then its self which would make the value undefined. i also tried to use
- Code: Select all
int i =0;
int i= 1+i;
if(Dialog==0&&ChatTime>0&&strlen(CurrD)>=strlen(FullD))
{
TypeWrite(DialogList[i]);
ChatTime--;
}
if(Dialog==0&&ChatTime<=0&&strlen(CurrD)>=strlen(FullD))
{
strcpy(text,"");
Dialog=2;
followed by the code again but this only causes i to become 1 over and over again...... so currently im quite confused and help with the scripting of this would be appreciated. or even just a hint in the right direction i believe this helps more then just script for it makes me work to get my desired results and learn a little bit more about ge