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