Changeset 4106 for data/branches
- Timestamp:
- Jul 4, 2006, 4:25:53 PM (18 years ago)
- Location:
- data/branches/presentation/scripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
data/branches/presentation/scripts/guard.lua
r4100 r4106 49 49 routeOneProgrammed = false 50 50 function walkRouteOne(timestep) 51 52 51 if not routeOneProgrammed then 53 52 guard:walkTo( 266.396362, height, 241.398544) … … 274 273 end 275 274 276 if guard:finalGoalReached() then275 if guard:finalGoalReached() and not guardStopped then 277 276 return true 278 277 end 279 278 280 279 return false 281 end282 283 284 function waveToSpaceship(timestep)285 286 280 end 287 281 -
data/branches/presentation/scripts/secondguard.lua
r4080 r4106 12 12 hangarReached = false 13 13 guardStopped = false 14 letsgo = false 14 15 15 16 height = 90 … … 52 53 secondguard:resume() 53 54 guardStopped = false 55 end 56 57 if dist( playerX,playerY,playerZ,167.361526,29,483.163818 ) < 200 then 58 letsgo = true 54 59 end 55 60 … … 187 192 function goToHangar(timestep) 188 193 189 if not hangarProgrammed and prisonerReachedLock then194 if not hangarProgrammed and prisonerReachedLock and letsgo then 190 195 secondguard:walkTo( 198.984589, height, 243.144440) 191 196 secondguard:walkTo( 188.270493, height, 242.143143)
Note: See TracChangeset
for help on using the changeset viewer.