Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

spaceship.lua implemented

File:
1 edited

Legend:

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

    r4063 r4066  
    5252
    5353
    54 if dist( guardX,guardY,guardZ,playerX, playerX, playerX) > 30 and hangarProgrammed then
     54if dist( guardX,guardY,guardZ,playerX, playerY, playerZ) > 30 and hangarProgrammed then
    5555 prisoner:stop()
    5656 guardStopped = true
    5757end
    5858
    59 if dist( guardX,guardY,guardZ,playerX, playerX, playerX) < 30 and hangarProgrammed and guardStopped then
     59if dist( guardX,guardY,guardZ,playerX, playerY, playerZ) < 30 and hangarProgrammed and guardStopped then
    6060 --prisoner:continue()
    6161 guardStopped = false
Note: See TracChangeset for help on using the changeset viewer.