Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 4608 was 4544, checked in by snellen, 18 years ago

added CameraMan tag in cut scene

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