Changeset 12101 for code/branches/WorldMap_HS18/data/gui/scripts
- Timestamp:
- Nov 14, 2018, 10:01:05 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/WorldMap_HS18/data/gui/scripts/CampaignMenu.lua
r12053 r12101 75 75 end 76 76 77 function P.forwardButton_clicked(e) 78 P.loadMap() 79 end 80 77 81 function P.Mission1Button_clicked(e) 82 P.loadLevel(P.FindLevel(0)) 83 end 84 function P.KeyPressed(e) 78 85 P.loadLevel(P.FindLevel(0)) 79 86 end … … 116 123 end 117 124 125 function P.loadMap() 126 orxonox.execute("change Game NC_StoryModeLevel") 127 end 128 118 129 function P.FindLevel(index) 119 130 local filename = orxonox.LevelManager:getInstance():getCampaignMission(index)
Note: See TracChangeset
for help on using the changeset viewer.