Changeset 4553 for data/trunk/scripts/cutscene
- Timestamp:
- Jan 27, 2007, 12:11:07 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
data/trunk/scripts/cutscene/cutscene.lua
r4551 r4553 13 13 -- THE tick function 14 14 15 function tick(timestep) 15 function tick(timestep) 16 16 time = time + timestep 17 17 18 if time > 2 and not cameraSwitched then 19 --cameraManager:setCam("Testcam") 20 cameraManager:changeCurrTarget( "Planet", "Earth") 21 cameraSwitched = true 22 end 18 cameraManager:setCam("CameraOne") 19 cameraManager:changeCurrTarget( "Planet", "Moon") 20 return true 23 21 24 if time > 4 then 25 cameraManager:togglFade() 26 return true 27 end 22 --if time > 2 and not cameraSwitched then 23 --cameraSwitched = true 24 --end 28 25 29 return false 26 --if time > 4 then 27 ---cameraManager:togglFade() 28 --return true 29 --end 30 31 --return false 30 32 end
Note: See TracChangeset
for help on using the changeset viewer.