Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 26, 2016, 4:38:51 PM (9 years ago)
Author:
fvultier
Message:

merged scriptable controller

Location:
code/branches/presentationFS16
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentationFS16

  • code/branches/presentationFS16/data/levels/scriptController.oxw

    r10622 r11207  
    3939    <Billboard position="2500,0,0" material="Flares/ringflare2" colour="0.2,0.4,0.8" scale=10 />
    4040    <DistanceTrigger position="2500,0,0" distance="200" target="Pawn"
    41       beaconMode="exclude" targetname="bcnDestroyer" name="takeControl"
     41      beaconMode="exclude" targetname="bcnDestroyer" name="takeControl" stayActive="true"
    4242    />
    4343
     
    5454    </StaticEntity>
    5555
     56
     57    <StaticEntity position  = "3000,0,0" mass=10000 collisionType=static >
     58      <attached>
     59        <Model mesh="cube_green.mesh" mass=10 position="0,0,0" scale=10 />
     60      </attached>
     61    </StaticEntity>
     62
     63    <StaticEntity position  = "2000,0,0" mass=10000 collisionType=static >
     64      <attached>
     65        <Model mesh="cube_green.mesh" mass=10 position="0,0,0" scale=10 />
     66      </attached>
     67    </StaticEntity>
     68
     69    <StaticEntity position  = "2500,500,0" mass=10000 collisionType=static >
     70      <attached>
     71        <Model mesh="cube_green.mesh" mass=10 position="0,0,0" scale=10 />
     72      </attached>
     73    </StaticEntity>
     74
    5675<!-- ControllerDirector waits for the event takeControl to attach a new Controller -->
    57     <ControllerDirector position="0,0,0" scriptname="presentation">
     76    <ControllerDirector position="0,0,0" scriptname="testscript">
    5877        <events>
    5978            <takeControl>
Note: See TracChangeset for help on using the changeset viewer.