Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 25, 2009, 10:42:30 PM (16 years ago)
Author:
rgrieder
Message:

Updating commands for the gui branch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • data/media/gui/scripts/mainmenu.lua

    r5427 r5429  
    88
    99function button_standalone_clicked(e)
    10   orxonox.CommandExecutor:execute("selectGameState standalone")
     10  orxonox.CommandExecutor:execute("startGame")
    1111  toggleGUI()
    1212end
    1313
    1414function button_server_clicked(e)
    15   orxonox.CommandExecutor:execute("selectGameState server")
     15  orxonox.CommandExecutor:execute("echo Not yet supported!")
    1616  hideGUI()
    1717end
    1818
    1919function button_dedicated_clicked(e)
    20   orxonox.CommandExecutor:execute("selectGameState dedicated")
     20  orxonox.CommandExecutor:execute("echo Not yet supported!")
    2121  hideGUI()
    2222end
    2323
    2424function button_client_clicked(e)
    25   orxonox.CommandExecutor:execute("selectGameState client")
     25  orxonox.CommandExecutor:execute("echo Not yet supported!")
    2626  hideGUI()
    2727end
Note: See TracChangeset for help on using the changeset viewer.