Changeset 4151 for data/branches
- Timestamp:
- Jul 5, 2006, 9:34:05 AM (18 years ago)
- Location:
- data/branches/presentation
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
data/branches/presentation/scripts/guard.lua
r4106 r4151 9 9 hangarReached = false 10 10 guardStopped = false 11 gotoSpaceship = false 11 12 12 13 height = 34 … … 31 32 distance = dist( guardX,guardY,guardZ,playerX, playerY, playerZ) 32 33 33 if distance > 250 and hangarRouteProgrammed and not guardStopped then34 if distance > 250 and hangarRouteProgrammed and not guardStopped and not gotoSpaceship then 34 35 guard:stop() 35 36 guardStopped = true 36 37 end 37 38 38 if distance < 250 and hangarRouteProgrammed and guardStopped then39 if distance < 250 and hangarRouteProgrammed and guardStopped and not gotoSpaceship then 39 40 guard:resume() 40 41 guardStopped = false … … 44 45 playerInLock = true 45 46 end 47 48 if dist( guardX,guardY,guardZ,772.325012, height, -1500.850708) < 200 then 49 gotoSpaceship = true 50 end 51 46 52 47 53 end … … 281 287 282 288 289 283 290 function tick(timestep) 284 291 --io.write("Guard called \n") 285 292 observePlayer() 286 293 294 287 295 if walkingRouteOne then 288 296 walkingRouteOne = walkRouteOne(timestep) -
data/branches/presentation/scripts/hangar.lua
r4100 r4151 309 309 mechanictMove(timestep) 310 310 311 if playerReachedTrigger and not spaceshipLaunchReady then312 moveToLaunchSite(timestep)313 end314 315 if spaceshipLaunchReady then316 launchSpaceShip(timestep)317 end311 --if playerReachedTrigger and not spaceshipLaunchReady then 312 --moveToLaunchSite(timestep) 313 --end 314 315 --if spaceshipLaunchReady then 316 --launchSpaceShip(timestep) 317 --end 318 318 319 319 -
data/branches/presentation/scripts/prisoner.lua
r4100 r4151 15 15 playerInLock = false 16 16 guardStopped = false 17 gotoSpaceship = false 17 18 18 19 randTime = 0 … … 54 55 55 56 56 if distance > 250 and hangarRouteProgrammed and not guardStopped then57 if distance > 250 and hangarRouteProgrammed and not guardStopped and not gotoSpaceship then 57 58 prisoner:stop() 58 59 guardStopped = true 59 60 end 60 61 61 if distance < 250 and hangarRouteProgrammed and guardStopped then62 if distance < 250 and hangarRouteProgrammed and guardStopped and not gotoSpaceship then 62 63 prisoner:resume() 63 64 guardStopped = false 64 65 end 66 67 68 if dist( guardX,guardY,guardZ,772.325012, height, -1500.850708) < 200 then 69 gotoSpaceship = true 70 end 71 65 72 66 73 end -
data/branches/presentation/worlds/sp_level_ambush_at_uranus.oxw
r4148 r4151 47 47 <Script> 48 48 <file>spaceship_flight.lua</file> 49 </Script> 50 51 <Script> 52 <file>attractor.lua</file> 49 53 </Script> 50 54
Note: See TracChangeset
for help on using the changeset viewer.