Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 5517 was 4765, checked in by snellen, 18 years ago

adapted all the scripts to the new trunk

File size: 487 bytes
Line 
1  -- Create the trigger
2trigger = SpaceTrigger()
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.