Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 10, 2014, 3:18:32 PM (11 years ago)
Author:
mkronig
Message:

Added an initial test for lua execution. Not tested yet.

Location:
code/branches/ScriptableController/data/levels
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ScriptableController/data/levels/levelTry.oxw

    r10024 r10026  
    7171    </StaticEntity>
    7272
    73 <!-- Docking  -->
    74     <Dock position="2830,20,50" roll=0 yaw=0 >
    75         <animations>
    76             <MoveToDockingTarget target="destroyer" />
    77         </animations>
    78         <effects>
    79             <DockToShip target="spaceShip" />
    80         </effects>
    81         <events>
    82             <execute>
    83                 <EventListener event="dockMe" />
    84             </execute>
    85 
    86             <undocking>
    87                 <EventListener event="undockMe" />
    88             </undocking>
    89        
    90             <activity>
    91                 <EventListener event=notGameEnd />
    92             </activity>
    93         </events>
    94         <attached>
    95         <!-- Trigger for docking with billboard -->
    96 
    97                 <!-- removed -->
    98 
    99         <!-- Trigger for undocking with billboard -->
    100             <!-- <Billboard position="-2630,-19970,150" material="Flares/ringflare2" colour="0.2,0.4,0.8" scale=1 /> -->
    101             <DistanceTrigger position="-2630,-19970,150" distance="50" target="Pawn"
    102                 beaconMode="identify" targetname="bcnDestroyer" name="undockMe"
    103             />
    104         </attached>
    105     </Dock>
    10673
    10774    <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.2,0.4,0.8" scale=100 />
    10875    <DistanceTrigger position="0,0,0" distance="200" target="Pawn"
    109       beaconMode="exclude" targetname="bcnDestroyer" name="dockMe"
     76      beaconMode="exclude" targetname="bcnDestroyer" name="takeControl"
    11077    />
    11178
    11279
    113 <!-- Object, which orxouts the message "hello Universe!". EVENT NOT WORKING -->
     80<!-- ControllerDirector waits for the event takeControl to attach a new Controller -->
    11481    <ControllerDirector position="0,0,0">
    11582        <events>
    11683            <party>
    117                 <EventListener event="dockMe" />
     84                <EventListener event="takeControl" />
    11885            </party>
    11986
Note: See TracChangeset for help on using the changeset viewer.