Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 4, 2006, 1:39:11 PM (18 years ago)
Author:
bensch
Message:

orxonox/presentation better player

File:
1 copied

Legend:

Unmodified
Added
Removed
  • data/branches/presentation/scripts/spaceship_flight.lua

    r4088 r4090  
    11-- Global Variables
    2 panic = false             -- True if thestranger panics.
    3 walkingRouteOne = false   -- True if thestranger is walking route one
     2thisscript:addObject("GameWorld", "Ambush_at_Jupiter")
    43
    54
    6 function togglePanic(timestep)
    7 panic = not panic
    8 return false
    9 end
    10 
    11 
    12 function walkRouteOne()
    13 
    14 
    15 end
    16 
    17 function flee()
    18 
    19 
    20 end
    215
    226
    237function tick(timestep)
    248
    25 if not walkingRouteOne then
    26 walkRouteOne()
    27 routeOneTriggered = true
     9 Ambush_at_Jupiter:setPlaymode("Horizontal")
     10
     11 return true
    2812end
    29 
    30 if panic then
    31 flee(timestep)
    32 end
    33 
    34 
    35 return false
    36 end
Note: See TracChangeset for help on using the changeset viewer.