Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/trunk/scripts/spacestation/switchtotower.lua @ 4706

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

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

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