Changeset 7456 for code/trunk/data/gui/scripts
- Timestamp:
- Sep 15, 2010, 7:29:16 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/data/gui/scripts/QuestGUI.lua
r7163 r7456 39 39 questWindow:setSize(CEGUI.UVector2(CEGUI.UDim(1, 0),CEGUI.UDim(1, 0))) 40 40 41 -- Iterate through all parent-quests.42 local num ParentQuests = orxonox.QuestManager:getInstance():getNumParentQuests(P.player)41 -- Iterate through all root-quests. 42 local numRootQuests = orxonox.QuestManager:getInstance():getNumRootQuests(P.player) 43 43 local i = 0 44 while i <= num ParentQuests-1 do45 local quest = orxonox.QuestManager:getInstance():get ParentQuest(P.player, i)44 while i <= numRootQuests-1 do 45 local quest = orxonox.QuestManager:getInstance():getRootQuest(P.player, i) 46 46 index = P.createQuestNodes(questWindow, quest, depth, index) 47 47 i = i+1
Note: See TracChangeset
for help on using the changeset viewer.