Changeset 4653 for data/trunk
- Timestamp:
- Jan 30, 2007, 11:21:47 AM (18 years ago)
- Location:
- data/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
data/trunk/levels/sp_level_spacestation1.oxw
r4646 r4653 534 534 <QuestGUI> 535 535 <name>Second_Quest</name> 536 <quest-name>Second 536 <quest-name>Second_Quest</quest-name> 537 537 <quest-description> 538 538 Congratulations!You've just found the m\naybe most important place on this Space-station!Go, get yourself a drink... … … 557 557 <Script> 558 558 <file>spacestation/switchtohangar.lua</file> 559 </Script>560 561 <Script>562 <file>spacestation/quest.lua</file>563 559 </Script> 564 560 -
data/trunk/scripts/spacestation/spaceship_hangar.lua
r4603 r4653 20 20 21 21 function switchToVertical(timestep) 22 if gameWorld:setNextStoryName( " In Space" ) then22 if gameWorld:setNextStoryName( "Mission 1" ) then 23 23 gameWorld:stop() 24 24 end -
data/trunk/scripts/spacestation/spaceship_tower.lua
r4468 r4653 6 6 trigger:setActiveOnCreation(true) 7 7 8 triggerOne = ScriptTrigger() 9 triggerOne:setScript("spaceship_tower.lua") 10 triggerOne:setFunction("startSecondQuest") 11 triggerOne:setTarget("Player") 12 triggerOne:setAbsCoor(1177.693, -12.796, 203.514) 13 triggerOne:setRadius(50) 14 triggerOne:setDebugDraw(true) 15 16 8 17 -- Get objects from orxonox 9 18 thisscript:addObject("FPSPlayer", "Player") 10 19 thisscript:addObject("GenericNPC", "pedestrianOne") 11 20 thisscript:addObject("GenericNPC", "hangarguyOne") 21 thisscript:addObject("QuestGUI", "First_Quest") 22 thisscript:addObject("QuestGUI", "Second_Quest") 23 24 25 26 27 -- Globals 28 questOneStarted = false 12 29 13 30 … … 149 166 150 167 168 function startSecondQuest(timestep) 169 170 --if First_Quest:isActive() then 171 Second_Quest:startGUI() 172 return true 173 --end 174 175 --return false 176 end 177 151 178 152 179 -- THE tick function … … 155 182 --io.write("Towerscript called \n") 156 183 184 if not questOneStarted then 185 First_Quest:startGUI() 186 questOneStarted = true 187 end 188 189 157 190 pedestrian:tick(timestep) 158 191 hangarguy:tick(timestep)
Note: See TracChangeset
for help on using the changeset viewer.