Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 16, 2011, 6:21:05 PM (13 years ago)
Author:
sven
Message:

Added docking animations, skeletton for DockingController..

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/dockingsystem2/data/gui/scripts/DockingDialog.lua

    r8487 r8493  
    1010
    1111function P.onShow()
    12     orxonox.CommandExecutor:execute("pause")
     12    orxonox.execute("setPause 1")
    1313    P.update()
    1414end
    1515
    1616function P.onHide()
    17     orxonox.CommandExecutor:execute("pause")
     17    orxonox.execute("setPause 0")
    1818end
    1919
     
    4242        local index = listbox:getItemIndex(choice)
    4343        local dock = P.docks[index+1]
    44         cout(0, index )--.. ": " .. P.docks[index])
    4544        if dock ~= nil then
    46             cout(0, "LUA>Docking")
    4745            dock:dock()
    4846        end
     
    5250
    5351function P.cancelButton_clicked(e)
    54     --P.hideMe()
    5552    hideMenuSheet(P.name)
    5653end
Note: See TracChangeset for help on using the changeset viewer.