Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 28, 2006, 5:32:09 PM (19 years ago)
Author:
snellen
Message:

added falldown.lua and lua_extra_functions

File:
1 edited

Legend:

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

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