Difference between revisions of "Talk:Text Input With OBSE"
Jump to navigation
Jump to search
imported>Kyoma |
imported>Kyoma |
||
Line 13: | Line 13: | ||
Now for the comment. I just wanted to say it's possible to add newlines to the stringvar itself (so having multiple string vars with %r in the MBoxEx isn't needed anymore). It's described at [[Talk:MessageBox]]. Even though it says it's for MessageBox it also works with SetName and ModName (and assuming AppendToName aswell). I've tested it just now and it didn't seem to break anything in the script. | Now for the comment. I just wanted to say it's possible to add newlines to the stringvar itself (so having multiple string vars with %r in the MBoxEx isn't needed anymore). It's described at [[Talk:MessageBox]]. Even though it says it's for MessageBox it also works with SetName and ModName (and assuming AppendToName aswell). I've tested it just now and it didn't seem to break anything in the script. | ||
:Oh and maybe this could also be used to add semi-colons. Hexcode for those is 3B. Gonna try it out. | :Oh and maybe this could also be used to add semi-colons. Hexcode for those is 3B. Gonna try it out. | ||
::Ok, I've gotten the semi-colon to work (;), aswell as the double-quotation mark ("). They both work fine without breaking the script and backspace works as it should. Only thing I didn't get to work was the divides (|). Everytime I added it with the hex editor the script got mixed up when backspace was pressed. It's not a big deal, one would never use it anyways. Only downside to all of this is, that it's a hassle to hex-edit it everytime. | |||
P.S. How do I change the (EST) in my post time? [[User:Kyoma|Kyoma]] | P.S. How do I change the (EST) in my post time? [[User:Kyoma|Kyoma]] 13:27, 3 February 2008 (EST) |
Revision as of 13:27, 3 February 2008
Updates
February 2, 2008
- Fixed: Bug that caused extra characters to be deleted when using Backspace.
- Simplified: Code that checked for an empty string.
- Added: Code to make sure the player has named the object.
- Added: Code to make Ctrl+Backspace delete a whole word.
Dragoon Wraith TALK 20:41, 2 February 2008 (PST)
New-line possibilities
Ok, first off, it's my first edit to the wiki so if it's wrong/out of place or anything else, feel free to remove or change it. :P
Now for the comment. I just wanted to say it's possible to add newlines to the stringvar itself (so having multiple string vars with %r in the MBoxEx isn't needed anymore). It's described at Talk:MessageBox. Even though it says it's for MessageBox it also works with SetName and ModName (and assuming AppendToName aswell). I've tested it just now and it didn't seem to break anything in the script.
- Oh and maybe this could also be used to add semi-colons. Hexcode for those is 3B. Gonna try it out.
- Ok, I've gotten the semi-colon to work (;), aswell as the double-quotation mark ("). They both work fine without breaking the script and backspace works as it should. Only thing I didn't get to work was the divides (|). Everytime I added it with the hex editor the script got mixed up when backspace was pressed. It's not a big deal, one would never use it anyways. Only downside to all of this is, that it's a hassle to hex-edit it everytime.
P.S. How do I change the (EST) in my post time? Kyoma 13:27, 3 February 2008 (EST)