Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 22, 2008, 4:45:32 PM (17 years ago)
Author:
bknecht
Message:

crazy stuff!! triggers and the best: you can now use the lua function "include(levelfile)" to include another level file into the level. it's great!!! :D

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/script_trigger/bin/levels/sample.oxw

    r1307 r1383  
    1212<Skybox src="Orxonox/StarSkyBox" />
    1313<SpaceShip camera="true" position="0,0,0" scale="10" yawpitchroll="-90,-90,0" mesh="assff.mesh" maxSpeed="500" maxSideAndBackSpeed="50" maxRotation="1.0" transAcc="200" rotAcc="3.0" transDamp="75" rotDamp="1.0" />
    14 <Script>
    15   print("****")
    16   print("Hello Scripting World")
    17   print("****")
    18 </Script>
     14
     15<?lua include("levels/test.oxw") ?>
    1916
    2017<NPC position="0,100,400" scale="1" mesh="razor.mesh"/>
Note: See TracChangeset for help on using the changeset viewer.