keyboard_string (Game Maker)
( Game Maker 6.1, 7 )
keyboard_string - last 1024 characters typed by the player.
Description
keyboard_string contains the last 1024 characters typed by the player. It should be noted that keyboard_string works exactly the same as any variable and can be set as well as read.
Examples
Example of Use
chatline = keyboard_string;
In this example, all text contained in keyboard_string will be written to chatline.
Resetting keyboard_string
keyboard_string = "";
To reset keyboard_string, all you have to do is set it to an empty string.
Related Pages
page revision: 15, last edited: 30 Jun 2012 15:52