Changeset 11269 for code/branches/StoryModeMap_HS16/data/gui
- Timestamp:
- Nov 7, 2016, 3:56:14 PM (8 years ago)
- Location:
- code/branches/StoryModeMap_HS16/data/gui/scripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/StoryModeMap_HS16/data/gui/scripts/CampaignMenu.lua
r11052 r11269 97 97 98 98 function P.loadLevel(level) 99 orxonox.execute(" startGame " .. level:getXMLFilename())99 orxonox.execute("changeGame " .. level:getXMLFilename()) 100 100 hideAllMenuSheets() 101 101 end … … 118 118 119 119 function P.CampaignMenuBackButton_clicked(e) 120 hideMenuSheet(P.name) 120 orxonox.execute("startMainMenu") 121 hideMenuSheet("CampaignMenu") 121 122 end 122 123 -
code/branches/StoryModeMap_HS16/data/gui/scripts/SingleplayerMenu.lua
r10258 r11269 172 172 173 173 function P.CampaignButton_clicked(e) 174 showMenuSheet("CampaignMenu", true) 174 -- showMenuSheet("CampaignMenu", true) 175 hideAllMenuSheets() 176 orxonox.execute("startGame StoryModeMap.oxw") 175 177 end 176 178
Note: See TracChangeset
for help on using the changeset viewer.