OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: SilentHunter on 08 Mar 2005, 00:52:01
-
*momentarily comes back to life*
How do youâ€Â¦
have a constant text box on screen that doesn't interfere with game play
that is always selected so whatever numbers/letters are presses they are entered into that field
If it cant be done, closest thing to it will doâ€Â¦
SILENTHUNTER
*dies*
(if u don't get it don't worry, p*** poor attempt at joke)
-
There's a really good dialogue tutorial in the ed depot.
-
Whenever you have a dialog up, the player loses "normal" controls; instead he gets a cursor, and his keypresses go into whatever control is up. So basically, he can't move around, shoot, or do anything while the dialog is up. I assume that is what you mean by "interfering with gameplay". Unfortunately there is no way around this.
I'm kind of unclear on what you want though, because how could you type stuff into a text box and play the game normally at the same time? Your character would move around while you try to type.... so I must not understand what you are asking.
Cut resources, however, look very similar to dialogs, and CAN be on the screen without interfering with the gameplay. Check out my tutorial on them here (http://www.ofpec.com/editors/resource_view.php?id=773). There is no way to "type stuff in to" a cut resource, though.
-
the plan was,
an invisable text box would be on screen, which would launch a script on reciept of certian key strokes,
(not for cheating, honestly)
SILENTHUNTER
-
Not possible, but you can detect when the player inputs certain movement keystrokes (for example, move forward, reverse, sidestep, etc). Check out this script here (http://www.ofpec.com/editors/resource_view.php?id=760).