Checking how many characters a string has?

Gasil

Member
Hello, I am using the following snippet:

Code:
if (time < text_length)
{
    time += velocity;
    print = string_copy(text, 0, time);
 
}
To draw the letters of a string one by one on a text box. However, I'd like to give the option to make the text appear in a single frame by pressing the letter E, and then, destroy the obj_text with another E press once every character of the current string has been drawn.

Have you any idea how could I achieve that?

Thanks.
 
Last edited:
Top