Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/trunk/scripts/spacestation/switchtohangar.lua @ 4653

Last change on this file since 4653 was 4614, checked in by landauf, 18 years ago

die tor-sounds sind erst provisorisch, müssen noch ersetzt werden

File size: 485 bytes
Line 
1 -- Create the trigger
2trigger = ScriptTrigger()
3trigger:setScript("switchtohangar.lua")
4trigger:setFunction("tick")
5trigger:setAbsCoor(0, 20, -1396)
6trigger:setTarget("Player")
7trigger:setRadius(500)
8trigger:setTriggerRemains(false)
9
10
11
12-- Add Objects
13thisscript:addObjectAsName("GameWorld", "Space Station 1", "spacestationtower")
14
15function tick(timestep)
16if spacestationtower:setNextStoryName( "Space Station 1B" ) then
17spacestationtower:stop()
18end
19return true
20end
Note: See TracBrowser for help on using the repository browser.