Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4504


Ignore:
Timestamp:
Jan 24, 2007, 6:51:34 PM (18 years ago)
Author:
snellen
Message:

added switchtotower.lua

Location:
data/trunk
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • data/trunk/levels/sp_level_spacestation1B.oxw

    r4490 r4504  
    435435
    436436  </WorldEntities>
     437
     438  <ScriptManager>
     439
     440   <Scripts>
     441
     442    <Script>
     443     <file>spacestation/spaceship_hanger.lua</file>
     444    </Script>
     445
     446    <Script>
     447     <file>spacestation/switchtotower.lua</file>
     448    </Script>
     449
     450   </Scripts>
     451
     452  </ScriptManager>
     453
     454
    437455
    438456  <Music>music/hangar01.ogg</Music>
  • data/trunk/scripts/spacestation/switchtohangar.lua

    r4468 r4504  
    1111
    1212-- Add Objects
    13 thisscript:addObject("GameWorld", "Spaceship_Tower")
     13thisscript:addObjectAsName("GameWorld", "Space Station 1", "spacestationtower")
    1414
    1515function tick(timestep)
    1616
    17 if Spaceship_Tower:setNextStoryName( "Ambush_at_Uranus" ) then
    18 Spaceship_Tower:stop()
     17if spacestationtower:setNextStoryName( "Space Station 1B" ) then
     18spacestationtower:stop()
    1919end
    2020return true
Note: See TracChangeset for help on using the changeset viewer.