Last change
on this file since 4884 was
4867,
checked in by vkaenemi, 18 years ago
|
added subground level, intro script explosion, questfix, vis, levelswitch
|
File size:
511 bytes
|
Rev | Line | |
---|
[4867] | 1 | -- Create the trigger |
---|
| 2 | trigger = SpaceTrigger() |
---|
| 3 | trigger:setScript("switchLevel.lua") |
---|
| 4 | trigger:setFunction("switch") |
---|
| 5 | trigger:setAbsCoor(210, -826, -506) |
---|
| 6 | trigger:setTarget("Player") |
---|
| 7 | trigger:setRadius(50) |
---|
| 8 | trigger:setTriggerRemains(false) |
---|
| 9 | |
---|
| 10 | |
---|
| 11 | -- Add Objects |
---|
| 12 | thisscript:addObject("FPSPlayer", "Player") |
---|
| 13 | thisscript:addObjectAsName("GameWorld", "Moon Station", "gameWorld") |
---|
| 14 | |
---|
| 15 | function switch(timestep) |
---|
| 16 | if gameWorld:setNextStoryName( "Moonstation Hangar" ) then |
---|
| 17 | gameWorld:stop() |
---|
| 18 | end |
---|
| 19 | return true |
---|
| 20 | end |
---|
Note: See
TracBrowser
for help on using the repository browser.