Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

continued

File:
1 edited

Legend:

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

    r4066 r4068  
    1414spaceShipEntered = false
    1515playerInLock = false
     16guardStopped = false
    1617
    1718randTime = 0
     
    5253
    5354
    54 if dist( guardX,guardY,guardZ,playerX, playerY, playerZ) > 30 and hangarProgrammed then
     55if dist( guardX,guardY,guardZ,playerX, playerY, playerZ) > 150 and hangarProgrammed then
    5556 prisoner:stop()
    5657 guardStopped = true
    5758end
    5859
    59 if dist( guardX,guardY,guardZ,playerX, playerY, playerZ) < 30 and hangarProgrammed and guardStopped then
    60  --prisoner:continue()
     60if dist( guardX,guardY,guardZ,playerX, playerY, playerZ) < 150 and hangarProgrammed and guardStopped then
     61 prisoner:resume()
    6162 guardStopped = false
    6263end
Note: See TracChangeset for help on using the changeset viewer.