Difference between revisions of "Text Input With OBSE"
Jump to navigation
Jump to search
→The Code: preventing code execution with the Console open
imported>DragoonWraith (→Limitations: semi-colon can't work, either) |
imported>DragoonWraith (→The Code: preventing code execution with the Console open) |
||
|
ref StringVar
short bConsole
Begin GameMode
set state to 3
return
endif
; check for Console
if ( OnKeyDown 41 )
set bConsole to bConsole == 0 ; toggle bConsole
endif
if ( bConsole )
return ; return if in the Console (the rest of the commands break the Console)
endif
| |||