Announcement

Collapse
No announcement yet.

Exit Button

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

    Exit Button

    Okay, I have my menu working within unreal and kismet, when you press my "play game" it loads my first level. And I even managed to change the loadingmenu.bik to my own custom loading screen. However, I cannot figure out what to type to make my exit button at the main menu exit my unreal game and return to windows. Here is what I have so far from following tutorials:

    Here is my play button code:
    on (press) {
    fscommand("loadmap")
    }


    Then linked up through Kismet

    My mouse cursor:
    onClipEvent (enterFrame)
    {
    _x=_root._xmouse
    _y=_root._ymouse
    }


    And what I have been trying with the exit button:
    on (press) {
    fscommand("exit")
    }


    I have also tried "quit" instead of exit but neither seems to work. Any help would be appreciated.

    I can also post my Flash file if that would help or I do not have enough information listed here.

    #2
    Try this

    for your Button:

    on (press) {
    fscommand("exit")
    }

    in Kismet:

    add a fsCommand Node and a console command Node
    type exit in the fsCommand Node properties
    type exit in the Console Command Node properties
    connect the fsCommand Node Out and the Console Command Node in

    try out

    Comment


      #3
      That did it! Thank You Very Much!

      Comment

      Working...
      X