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

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Kyoma
imported>Kyoma
Line 24: Line 24:
::True, but I'm just happy it can be done. :) [[User:Kyoma|Kyoma]] 03:27, 4 February 2008 (EST)
::True, but I'm just happy it can be done. :) [[User:Kyoma|Kyoma]] 03:27, 4 February 2008 (EST)


===Console===
=== Console ===
Me again, um currently when you open the console and you start to type, the scrip doesn't hold. I've added some simple code in my script but I'm a bit afraid of adding it here. (still noob to th cs). So I'm mentioning it here so you can add it. [[User:Kyoma|Kyoma]] 03:27, 4 February 2008 (EST)
Me again, um currently when you open the console and you start to type, the scrip doesn't hold. I've added some simple code in my script but I'm a bit afraid of adding it here. (still noob to th cs). So I'm mentioning it here so you can add it. [[User:Kyoma|Kyoma]] 03:27, 4 February 2008 (EST)

Revision as of 03:28, 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)
True, but I'm just happy it can be done. :) Kyoma 03:27, 4 February 2008 (EST)

Console

Me again, um currently when you open the console and you start to type, the scrip doesn't hold. I've added some simple code in my script but I'm a bit afraid of adding it here. (still noob to th cs). So I'm mentioning it here so you can add it. Kyoma 03:27, 4 February 2008 (EST)