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

Jump to navigation Jump to search
1,387 bytes added ,  18:13, 4 February 2008
→‎Console: nothing can be done about it, sorry
imported>Kyoma
imported>DragoonWraith
(→‎Console: nothing can be done about it, sorry)
Line 31: Line 31:
:Anyway, what ''does'' happen when you open the console?
:Anyway, what ''does'' happen when you open the console?
:[[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>]] 04:02, 4 February 2008 (EST)
:[[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>]] 04:02, 4 February 2008 (EST)
::If I press the ` key it opens the console like it should. But when I start to type, in the background. [[User:Kyoma|Kyoma]] 08:54, 4 February 2008 (EST)
::If I press the ` key it opens the console like it should. But when I start to type, in the background. [[User:Kyoma|Kyoma]] 08:54, 4 February 2008 (EST)
:::OK, so I sort of looked into this, and this is what I found:
:::First of all, you can't type in the Console while the script is running. The call to MessageBox closes the Console. The script continues to run just fine, however.
:::Secondly, there is no good way to prevent this. '''MenuMode 3''', which is supposed to return true if the Console is open, does not do so if a MessageBox is also open. It is therefore impossible to detect when the script should stop checking keypresses.
:::So there is, unfortunately, no way to support using the Console during the script (except to read stuff, anyway).
:::Also, I attempted to implement some more characters, and I found that the percent sign (%) and the semicolon (;) were also impossible to support. The semicolon causes the rest of the line to be a comment, so it fails to see it as part of the string, and the percentage sign crashes the game when it's typed.
:::The percent sign is, I believe, a bug in OBSE that was previously reported by someone else... perhaps Kyoma? The semicolon, of course, was known previously.
:::[[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>]] 18:13, 4 February 2008 (EST)

Navigation menu