Changeset 8493 for code/branches/dockingsystem2/data/gui/scripts
- Timestamp:
- May 16, 2011, 6:21:05 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/dockingsystem2/data/gui/scripts/DockingDialog.lua
r8487 r8493 10 10 11 11 function P.onShow() 12 orxonox. CommandExecutor:execute("pause")12 orxonox.execute("setPause 1") 13 13 P.update() 14 14 end 15 15 16 16 function P.onHide() 17 orxonox. CommandExecutor:execute("pause")17 orxonox.execute("setPause 0") 18 18 end 19 19 … … 42 42 local index = listbox:getItemIndex(choice) 43 43 local dock = P.docks[index+1] 44 cout(0, index )--.. ": " .. P.docks[index])45 44 if dock ~= nil then 46 cout(0, "LUA>Docking")47 45 dock:dock() 48 46 end … … 52 50 53 51 function P.cancelButton_clicked(e) 54 --P.hideMe()55 52 hideMenuSheet(P.name) 56 53 end
Note: See TracChangeset
for help on using the changeset viewer.