Is it possible to handle key strokes in GUIs?
In the on_key_press function I tried putting:
if ( IsGUIOn(5) ==1)
{
// several statements to handle key presses for that gui.
}
if (IsGUIOn(6)==1)
{
// key presses for this gui
}
but this didn't work. Is this something simple I'm missing?
Nevermind, I figured it out. I just needed to modify the default script to not ignore key presses when the game is paused.
Thanks.