14.03.2011, 15:08
The problem is that i cant do my stuff under OnPlayerText. My stuff is already done under that register function and its done like this: those questions are written inside a file and are read by that "register" function using a "for" loop. This way i can modify the questions and their number (i can put some more questions later on) without having to modify too much things within the script. My problem is, as i mentioned in my question, that i have to "pause" that "for" loop and make it WAIT until the player types in his answer, after that, the script compares this answer with the correct one and if they match than the loop continues. So i'm asking again: Is there a way to pause the repeating "for" loop and make it wait until the player types in its answer?