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