Changeset 4593 for data/trunk/scripts
- Timestamp:
- Jan 28, 2007, 8:46:41 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
data/trunk/scripts/cutscene/cutscene.lua
r4587 r4593 30 30 triggerTwo:setScript("cutscene.lua") 31 31 triggerTwo:setFunction("switchCamToSpaceship") 32 triggerTwo:setAbsCoor(0, 0 , 150)32 triggerTwo:setAbsCoor(0, 0 , -25) 33 33 triggerTwo:setTarget("CameraOne") 34 34 triggerTwo:setRadius(5) … … 39 39 triggerThree:setScript("cutscene.lua") 40 40 triggerThree:setFunction("switchCamToStation") 41 triggerThree:setAbsCoor(-125, 0 , 175)41 triggerThree:setAbsCoor(-125, 0 , -25) 42 42 triggerThree:setTarget("CameraOne") 43 43 triggerThree:setRadius(5) … … 47 47 -- Get objects from orxonox 48 48 thisscript:addObject("CameraMan", "cameraManager") 49 thisscript:addObject("NPC", "shutleOne")50 49 thisscript:addObjectAsName("GameWorld", "Cut Scene", "gameWorld") 51 50 … … 57 56 bInit = 0 58 57 bInit2 = 0 59 60 61 -- shutleOne62 shutle = { }63 --{64 65 function shutle:tick(timestep)66 67 if cameraManager:getCurrCameraCoorZ() > 0 then68 coorX = shutleOne:getAbsCoorX()69 coorY = shutleOne:getAbsCoorY()70 coorZ = shutleOne:getAbsCoorZ()71 shutleOne:setAbsCoor(coorX-6*timestep,coorY,coorZ)72 end73 end74 75 --}76 58 77 59 … … 107 89 time = time + timestep 108 90 109 shutle:tick(timestep)110 91 111 92 if bInit == 0 then
Note: See TracChangeset
for help on using the changeset viewer.