Last change
on this file since 4605 was
4544,
checked in by snellen, 18 years ago
|
added CameraMan tag in cut scene
|
File size:
481 bytes
|
Line | |
---|
1 | -- Create the trigger |
---|
2 | trigger = ScriptTrigger() |
---|
3 | trigger:setScript("switchtohangar.lua") |
---|
4 | trigger:setFunction("tick") |
---|
5 | trigger:setAbsCoor(-5.601662, 35, -1564.822632) |
---|
6 | trigger:setTarget("Player") |
---|
7 | trigger:setRadius(700) |
---|
8 | trigger:setTriggerRemains(false) |
---|
9 | |
---|
10 | |
---|
11 | |
---|
12 | -- Add Objects |
---|
13 | thisscript:addObjectAsName("GameWorld", "Space Station 1", "spacestationtower") |
---|
14 | |
---|
15 | function tick(timestep) |
---|
16 | if spacestationtower:setNextStoryName( "Space Station 1B" ) then |
---|
17 | spacestationtower:stop() |
---|
18 | end |
---|
19 | return true |
---|
20 | end |
---|
Note: See
TracBrowser
for help on using the repository browser.