Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 24, 2018, 11:32:57 AM (6 years ago)
Author:
linggj
Message:

Ship added

File:
1 edited

Legend:

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

    r11805 r12053  
    3333    end
    3434end
    35 
     35--Updated Buttons der levels
    3636function P.updateButton(index, button)
     37    --Wenn genuegend Levels vorhanden sind, wird der Butten angezeigt
    3738    if (P.shouldDisplayButton(index)) then
    3839        button:setProperty("Visible", "True")
    3940
     41        --wenn genuegend levels bestanden sind, wird er benutzbar
    4042        if (P.shouldEnableButton(index)) then
    4143            button:setProperty("Disabled", "False")
    4244        end
    4345    end
     46end
     47
     48function P.Test(e)
     49     orxonox.execute("startMainMenu")
    4450end
    4551
Note: See TracChangeset for help on using the changeset viewer.