Changeset 4068 for data/branches/single_player_map/scripts/secondguard.lua
- Timestamp:
- Jul 3, 2006, 6:03:14 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
data/branches/single_player_map/scripts/secondguard.lua
r4066 r4068 11 11 prisonerReachedLock = false 12 12 hangarReached = false 13 guardStopped = false 13 14 14 15 height = 80 … … 41 42 playerZ = Player:getAbsCoorZ() 42 43 43 if dist( guardX,guardY,guardZ,playerX, playerY, playerZ) > 30 and hangarProgrammed then44 if dist( guardX,guardY,guardZ,playerX, playerY, playerZ) > 150 and hangarProgrammed then 44 45 secondguard:stop() 45 46 guardStopped = true 46 47 end 47 48 48 if dist( guardX,guardY,guardZ,playerX, playerY, playerZ) < 30 and hangarProgrammed and guardStopped then49 if dist( guardX,guardY,guardZ,playerX, playerY, playerZ) < 150 and hangarProgrammed and guardStopped then 49 50 --secondguard:continue() 50 51 guardStopped = false
Note: See TracChangeset
for help on using the changeset viewer.