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