- Timestamp:
- Oct 24, 2018, 11:32:57 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/WorldMap_HS18/data/gui/scripts/CampaignMenu.lua
r11805 r12053 33 33 end 34 34 end 35 35 --Updated Buttons der levels 36 36 function P.updateButton(index, button) 37 --Wenn genuegend Levels vorhanden sind, wird der Butten angezeigt 37 38 if (P.shouldDisplayButton(index)) then 38 39 button:setProperty("Visible", "True") 39 40 41 --wenn genuegend levels bestanden sind, wird er benutzbar 40 42 if (P.shouldEnableButton(index)) then 41 43 button:setProperty("Disabled", "False") 42 44 end 43 45 end 46 end 47 48 function P.Test(e) 49 orxonox.execute("startMainMenu") 44 50 end 45 51
Note: See TracChangeset
for help on using the changeset viewer.