Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 3, 2006, 6:03:14 PM (18 years ago)
Author:
snellen
Message:

continued

File:
1 edited

Legend:

Unmodified
Added
Removed
  • data/branches/single_player_map/scripts/secondguard.lua

    r4066 r4068  
    1111prisonerReachedLock = false
    1212hangarReached = false
     13guardStopped = false
    1314
    1415height = 80
     
    4142playerZ = Player:getAbsCoorZ()
    4243
    43 if dist( guardX,guardY,guardZ,playerX, playerY, playerZ) > 30 and hangarProgrammed then
     44if dist( guardX,guardY,guardZ,playerX, playerY, playerZ) > 150 and hangarProgrammed then
    4445 secondguard:stop()
    4546 guardStopped = true
    4647end
    4748
    48 if dist( guardX,guardY,guardZ,playerX, playerY, playerZ) < 30 and hangarProgrammed and guardStopped then
     49if dist( guardX,guardY,guardZ,playerX, playerY, playerZ) < 150 and hangarProgrammed and guardStopped then
    4950 --secondguard:continue()
    5051 guardStopped = false
Note: See TracChangeset for help on using the changeset viewer.