Difference between revisions of "Text Input With TSFC"

5 bytes removed ,  20:06, 19 February 2008
m
imported>Speedo
(New page: This code will accept text input from the player, storing the data in a TSFC string. All regular keyboard characters are supported except tilde(~). Shift and Backspac...)
 
imported>Speedo
Line 23: Line 23:
*Caps Lock is ignored, since most players will use it to toggle run.  It would be possible to add support for it, but it's not recommended.
*Caps Lock is ignored, since most players will use it to toggle run.  It would be possible to add support for it, but it's not recommended.


*The player must open the console to view what he/she is typing.  They may press tilde(~) at any time while to view what they have typed, or enter the console command [[Debug Text|TDT]] to see updated text as they type.  See [[Text Input With TSFC#Alternate Display Method|Alternate Display Methods]].
*The player must open the console to view what he/she is typing.  They may press tilde(~) at any time to view what they have typed, or enter the console command [[Debug Text|TDT]] to see updated text as they type.  See [[Text Input With TSFC#Alternate Display Method|Alternate Display Methods]].


*While the script can respond quickly allowing the player to type at a fairly normal pace, if multiple keys are pressed at the same time only one of them will be recognized.
*While the script can respond quickly, allowing the player to type at a fairly normal pace, if multiple keys are pressed at the same time only one of them will be recognized.


==Functions & Scripting Concepts Used==
==Functions & Scripting Concepts Used==
Anonymous user