Changeset 3966 for data/branches/single_player_map/scripts
- Timestamp:
- Jun 30, 2006, 6:24:01 PM (18 years ago)
- Location:
- data/branches/single_player_map/scripts
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
data/branches/single_player_map/scripts/falldown.lua
r3962 r3966 1 1 dy = 0 2 2 randTime = 0 3 3 eventFinished = false … … 15 15 16 16 function fallDown(timestep) 17 dy = dy + timestep*0.01 18 thisX = fallingguy:getAbsCoorX() 19 thisY = fallingguy:getAbsCoorY() 20 thisZ = fallingguy:getAbsCoorZ() 17 21 22 fallingguy:setAbsCoor(thisX, thisY - dy, thisZ) 23 24 if thisY < 0 then 18 25 eventFinished = true 26 end 27 19 28 end 20 29 … … 27 36 randTime = randTime - timestep 28 37 else 29 --io.write("Falldown called \n")30 38 fallDown(timestep) 31 39 end -
data/branches/single_player_map/scripts/floorguy.lua
r3965 r3966 1 1 2 2 programRoute = true 3 3 height = 80 4 4 5 5 function tick(timestep) -
data/branches/single_player_map/scripts/guard.lua
r3965 r3966 5 5 hangarReached = false 6 6 7 height = 297 height = 80 8 8 9 9 -- Returns the distance between (x1,x2,x3) and (y1,y2,y3) -
data/branches/single_player_map/scripts/prisoner.lua
r3965 r3966 9 9 10 10 randTime = 0 11 height = 2911 height = 80 12 12 13 13 -
data/branches/single_player_map/scripts/secondguard.lua
r3965 r3966 6 6 hangarReached = false 7 7 8 height = 298 height = 100 9 9 10 10 -- Returns the distance between (x1,x2,x3) and (y1,y2,y3)
Note: See TracChangeset
for help on using the changeset viewer.