Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 14, 2018, 10:01:05 AM (5 years ago)
Author:
linggj
Message:

12

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/WorldMap_HS18/data/gui/scripts/CampaignMenu.lua

    r12053 r12101  
    7575end
    7676
     77function P.forwardButton_clicked(e)
     78    P.loadMap()
     79end
     80
    7781function P.Mission1Button_clicked(e)
     82    P.loadLevel(P.FindLevel(0))
     83end
     84function P.KeyPressed(e)
    7885    P.loadLevel(P.FindLevel(0))
    7986end
     
    116123end
    117124
     125function P.loadMap()
     126    orxonox.execute("change Game  NC_StoryModeLevel")
     127end
     128
    118129function P.FindLevel(index)
    119130    local filename = orxonox.LevelManager:getInstance():getCampaignMission(index)
Note: See TracChangeset for help on using the changeset viewer.