Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 30, 2006, 2:05:39 PM (19 years ago)
Author:
snellen
Message:

scripts updated

File:
1 edited

Legend:

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

    r3954 r3962  
    1010randTime = 0
    1111
     12
     13function dist( x1,x2,x3, y1,y2,y3 )
     14
     15return math.sqrt( (x1-y1)^2 + (x2-y2)^2 + (x3-y3)^2 )
     16
     17end
     18
    1219function observeGuard()
    1320guardX = guard:getAbsCoorX()
     
    2835if dist( playerX,playerY,playerZ,161.76,49,358.87 ) < 60 then
    2936playerInLock = true
     37end
     38
    3039end
    3140
Note: See TracChangeset for help on using the changeset viewer.