Changeset 4601 for data/trunk
- Timestamp:
- Jan 28, 2007, 10:33:52 PM (18 years ago)
- Location:
- data/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
data/trunk/levels/sp_cutscene_intro.oxw
r4597 r4601 154 154 <size>175</size> 155 155 <abs-coor>-75, 0, 300</abs-coor> 156 <abs-dir>3.1412, 1,0,0</abs-dir> 156 <abs-dir>3.1412, 0,0,1</abs-dir> 157 <abs-dir>0.5, 0,1,0</abs-dir> 157 158 <texture>textures/planets/earth_no_clouds_2048.jpg</texture> 158 159 <cloud-texture>textures/planets/halo.png</cloud-texture> -
data/trunk/scripts/spacestation/spaceship_hangar.lua
r4468 r4601 1 1 -- Create the trigger 2 trigger = ScriptTrigger()3 trigger:setName("maintrigger")4 trigger:setScript("spaceship_hangar.lua")5 trigger:setFunction("tick")6 trigger:setActiveOnCreation(true)2 --trigger = ScriptTrigger() 3 --trigger:setName("maintrigger") 4 --trigger:setScript("spaceship_hangar.lua") 5 --trigger:setFunction("tick") 6 --trigger:setActiveOnCreation(true) 7 7 8 8 9 -- Cameraswitchzero 10 triggerZero = ScriptTrigger() 11 triggerZero:setScript("spaceship_hangar.lua") 12 triggerZero:setFunction("switchToVertical") 13 triggerZero:setAbsCoor(5214.267090, 21.617924, -4482.451660) 14 triggerZero:setTarget("Player") 15 triggerZero:setRadius(50) 16 triggerZero:setDebugDraw(true) 17 18 thisscript:addObjectAsName("GameWorld", "Space Station 1B", "gameWorld") 9 19 10 20 11 -- THE tick function 21 function switchToVertical(timestep) 22 if gameWorld:setNextStoryName( "In Space" ) then 23 gameWorld:stop() 24 end 25 return true 26 end 12 27 13 function tick(timestep)14 --io.write("Hangarscript called \n")15 16 17 return false18 end
Note: See TracChangeset
for help on using the changeset viewer.