source:
data/trunk/scripts/testflight.lua
@
4376
Last change on this file since 4376 was 4328, checked in by muellmic, 18 years ago | |
---|---|
File size: 397 bytes |
Line | |
---|---|
1 | -- Create the trigger |
2 | trigger = ScriptTrigger() |
3 | trigger:setName("testflighttrigger") |
4 | trigger:setScript("testflight.lua") |
5 | trigger:setFunction("tick") |
6 | trigger:setActiveOnCreation(true) |
7 | |
8 | -- Add Objects |
9 | thisscript:addObject("GameWorld", "Testlevel") |
10 | |
11 | -- Global Variables |
12 | horizontalmode = false |
13 | |
14 | function tick(timestep) |
15 | if not horizontalmode then |
16 | --Testlevel:setPlaymode("Horizontal") |
17 | end |
18 | end |
19 |
Note: See TracBrowser
for help on using the repository browser.