source:
data/old_trunk/scripts/staumanndli.lua
@
  4753
        
        | Last change on this file since 4753 was 4164, checked in by snellen, 19 years ago | |
|---|---|
| File size: 419 bytes | |
| Line | |
|---|---|
| 1 | -- Get objects from orxonox | 
| 2 | thisscript:addObject("GenericNPC","staumanndli") | 
| 3 | thisscript:addObject("FPSPlayer", "Player") | 
| 4 | |
| 5 | programRoute = true | 
| 6 | height = -10 | 
| 7 | |
| 8 | function tick(timestep) | 
| 9 | |
| 10 | if programRoute then | 
| 11 | staumanndli:walkTo(579, 373 , -114 ) | 
| 12 | staumanndli:walkTo(64, 373, -197 ) | 
| 13 | staumanndli:walkTo(64, 373, -197 ) | 
| 14 | programRoute = false | 
| 15 | end | 
| 16 | |
| 17 | if floorguy:finalGoalReached() then | 
| 18 | programRoute = true | 
| 19 | end | 
| 20 | |
| 21 | |
| 22 | return false | 
| 23 | end | 
Note: See TracBrowser
        for help on using the repository browser.
    


 
            







