Difference between revisions of "Text Input With TSFC"

104 bytes removed ,  02:39, 30 November 2008
no edit summary
imported>Speedo
(Add commented code)
imported>KyleWollaston
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
This code will accept text input from the player, storing the data in a [[:Category: TSFC|TSFC]] string.  All regular keyboard characters are supported except tilde(~).  Shift and Backspace may be used normally.  Text is show as typed via [[StrMessageBox|MessageBoxes]], which also have buttons for the player to end their input or clear all input.
This code will accept text input from the player, storing the data in a [[:Category: TSFC|TSFC]] string.  All regular keyboard characters are supported except tilde(~).  Shift and Backspace may be used normally.  Text is shown as typed via [[StrMessageBox|MessageBoxes]], which also have buttons for the player to end their input or clear all input.


==Requirements==
==Requirements==


*[[:Category: Oblivion Script Extender|Oblivion Script Extender (OBSE)]] v0014 or higher
*[[:Category: Oblivion Script Extender|Oblivion Script Extender]] v0014 or higher
*[[:Category: TSFC|Tibixe's String Function Collection (TSFC)]]
*[[:Category: TSFC|Tibixe's String Function Collection (TSFC)]]


Line 174: Line 174:


*The keys Enter, Tab, Alt, and Ctrl will add the text of their key name if pressed.
*The keys Enter, Tab, Alt, and Ctrl will add the text of their key name if pressed.
*If you need to save the input string, you can use [http://www.tesnexus.com/downloads/file.php?id=15390 PlugStr] to save it in a [[:Category: Pluggy|Pluggy]] array.


==See Also==
==See Also==


*[[MessageBoxEx-based Text Input Box]] - an alternative that does not require [[:Category: TSFC|TSFC]].
*[[Text Input With OBSE]] - an alternative that does not require [[:Category: TSFC|TSFC]].
*[[Text Input With Pluggy]] - an alternative using [[:Category: Pluggy|Pluggy]].


[[Category: Useful Code]]
[[Category: Useful Code]]