Changeset 4068 for data/branches/single_player_map/scripts/prisoner.lua
- Timestamp:
- Jul 3, 2006, 6:03:14 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
data/branches/single_player_map/scripts/prisoner.lua
r4066 r4068 14 14 spaceShipEntered = false 15 15 playerInLock = false 16 guardStopped = false 16 17 17 18 randTime = 0 … … 52 53 53 54 54 if dist( guardX,guardY,guardZ,playerX, playerY, playerZ) > 30 and hangarProgrammed then55 if dist( guardX,guardY,guardZ,playerX, playerY, playerZ) > 150 and hangarProgrammed then 55 56 prisoner:stop() 56 57 guardStopped = true 57 58 end 58 59 59 if dist( guardX,guardY,guardZ,playerX, playerY, playerZ) < 30 and hangarProgrammed and guardStopped then60 --prisoner:continue()60 if dist( guardX,guardY,guardZ,playerX, playerY, playerZ) < 150 and hangarProgrammed and guardStopped then 61 prisoner:resume() 61 62 guardStopped = false 62 63 end
Note: See TracChangeset
for help on using the changeset viewer.