Announcement

Collapse
No announcement yet.

PauseMenu problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    PauseMenu problem

    Hey guys!
    I made a basic pause menu for my game using scaleform. I created my own UTHUDBase class and a new GFxUI_PauseMenu based on the original files. It all works fine, at the first look. When i press "Escape" the menu loads up. but when i press "escape" again or press the "resume" button it closes my menu and unpauses my game but I don't get control of the character back.
    If I press "escape" again, it reloads the menu but the "resume" button doesn't work anymore. At another press of "escape" it closes the menu it just opened and i finally get my character back.
    Does anyone know how to fix this? Any help is appreciated.

    #2
    Have you traced through the chain of events in script to make sure MyMenu.Close(true) is being called, and then MyMenu=none immediately after the close call? It sounds to me like a problem I had where the menu was closing, but it wasn't being set to none after and so when I called it again none of the widgets initialized.

    Comment


      #3
      Thanks Nick, that solved my problem. i wasn't setting mymenu=none. Thanks a lot

      Comment

      Working...
      X