Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 28, 2006, 6:45:50 PM (18 years ago)
Author:
snellen
Message:

falldown.lua implemented

File:
1 edited

Legend:

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

    r3921 r3927  
    22panic = false             -- True if thestranger panics.
    33walkingRouteOne = false   -- True if thestranger is walking route one
    4 randinit = false
    5 
    6 function randInit()
    7 
    8 if not randinit then
    9 math.randomseed(os.clock())
    10 randinit = true
    11 end
    12 
    13 end
    144
    155
     
    3323function tick(timestep)
    3424
    35 randInit()
    36 
    37 randNum = math.random()
    38 io.write("random number is ", randNum, "\n")
    39 
    4025if not walkingRouteOne then
    4126walkRouteOne()
Note: See TracChangeset for help on using the changeset viewer.