Difference between revisions of "Talk:Text Input With OBSE"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
(nice info, thanks)
imported>DragoonWraith
m (making Kyoma's discussion separate from the Updates section)
Line 8: Line 8:
[[User:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">D</span>ragoon <span style="font-family: Oblivion, Daedric Runes; size=2;">W</span>raith]] [[User_talk:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">TALK</span>]] 20:41, 2 February 2008 (PST)
[[User:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">D</span>ragoon <span style="font-family: Oblivion, Daedric Runes; size=2;">W</span>raith]] [[User_talk:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">TALK</span>]] 20:41, 2 February 2008 (PST)


=== New-line possibilities ===
== 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
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



Revision as of 00:50, 4 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)

Yeah, hex-editing MessageBoxes has been done since Morrowind. A few modders have used it extensively... Qarl's Underground comes to mind immediately. But until OBSE adds a way to use those characters without hex-editing, it's just not going to be a very notable fact.
At any rate, thanks for your contributions to figuring out how to manipulate MessageBoxes... they are woefully inadequate for so many things, but they're all we've got.
Dragoon Wraith TALK 00:44, 4 February 2008 (EST)