Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4106 for data


Ignore:
Timestamp:
Jul 4, 2006, 4:25:53 PM (18 years ago)
Author:
snellen
Message:

continued working

Location:
data/branches/presentation/scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • data/branches/presentation/scripts/guard.lua

    r4100 r4106  
    4949routeOneProgrammed = false
    5050function walkRouteOne(timestep)
    51 
    5251if not routeOneProgrammed then
    5352guard:walkTo( 266.396362, height, 241.398544)
     
    274273end
    275274
    276 if guard:finalGoalReached() then
     275if guard:finalGoalReached() and not guardStopped then
    277276return true
    278277end
    279278
    280279return false
    281 end
    282 
    283 
    284 function waveToSpaceship(timestep)
    285 
    286280end
    287281
  • data/branches/presentation/scripts/secondguard.lua

    r4080 r4106  
    1212hangarReached = false
    1313guardStopped = false
     14letsgo = false
    1415
    1516height = 90
     
    5253 secondguard:resume()
    5354 guardStopped = false
     55end
     56
     57if dist( playerX,playerY,playerZ,167.361526,29,483.163818 ) < 200 then
     58letsgo = true
    5459end
    5560
     
    187192function goToHangar(timestep)
    188193
    189 if not hangarProgrammed and prisonerReachedLock then
     194if not hangarProgrammed and prisonerReachedLock and letsgo then
    190195secondguard:walkTo( 198.984589, height, 243.144440)
    191196secondguard:walkTo( 188.270493, height, 242.143143)
Note: See TracChangeset for help on using the changeset viewer.