Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/trunk/scripts/testflight.lua @ 4328

Last change on this file since 4328 was 4328, checked in by muellmic, 17 years ago

lights now children of player

File size: 397 bytes
Line 
1-- Create the trigger
2trigger = ScriptTrigger()
3trigger:setName("testflighttrigger")
4trigger:setScript("testflight.lua")
5trigger:setFunction("tick")
6trigger:setActiveOnCreation(true)
7
8-- Add Objects
9thisscript:addObject("GameWorld", "Testlevel")
10
11-- Global Variables
12horizontalmode = false
13
14function tick(timestep)
15  if not horizontalmode then
16    --Testlevel:setPlaymode("Horizontal")
17  end
18end
19
Note: See TracBrowser for help on using the repository browser.