Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6906 for code/trunk/data/gui


Ignore:
Timestamp:
May 17, 2010, 1:22:26 PM (15 years ago)
Author:
dafrick
Message:

Added DistanceTriggerBeacon, which is a device which can be attached to objects to trigger a DistanceTrigger (both the (single) DistanceTrigger and DistanceMultiTrigger) based on the name of the DistanceTri$
Also some minor adjustements in QuestEffectBeacon: Removed some output and adjusted the outputlevel of some other output.
And started working on PickupInventory again (though no significant changes yet).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/data/gui/scripts/PickupInventory.lua

    r6750 r6906  
    7474
    7575    local name = "orxonox/PickupInventory/Carrier" .. index
    76        
     76   
    7777    --Design parameters:
    7878    local imageHeight = 50
     
    8686    box:setPosition(CEGUI.UVector2(CEGUI.UDim(0, horizontalOffset), CEGUI.UDim(0, 0)))
    8787    box:setSize(CEGUI.UVector2(CEGUI.UDim(1.0, -horizontalOffset), CEGUI.UDim(1, 0)))
    88    
    89     offset = offset+textHeight
    90     local title = winMgr:createWindow("MenuWidgets/StaticText", name .. "/Title")
    91     title:setText(carrier:getCarrierName())
    92     title:setSize(CEGUI.UVector2(CEGUI.UDim(1, 0), CEGUI.UDim(0, offset)))
    93     title:setProperty("FrameEnabled", "set:False")
    94     box:addChildWindow(title)
    9588   
    9689    local numPickups = orxonox.PickupManager:getInstance():getNumPickups(carrier)
Note: See TracChangeset for help on using the changeset viewer.