Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9985


Ignore:
Timestamp:
Jan 5, 2014, 10:40:01 AM (11 years ago)
Author:
jo
Message:

Ending missionOne.

Location:
code/trunk/data/levels
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/data/levels/events.oxw

    r9348 r9985  
     1<!-- -->
    12<LevelInfo
    23  name = "Events showcase"
  • code/trunk/data/levels/missionOne.oxw

    r9941 r9985  
    16581658    </SimpleNotification>
    16591659
     1660<!-- @Triggers: HACK. The attacktrigger6 Event is created, but does not trigger the Script.
     1661(WTF?) TODO: looks like a BUG
     1662Thus a distanceTrigger is created, that gets enabled, when the inner trigger gets activated.
     1663Due to the large radius it is likely that it actually gets triggered.
     1664-->
     1665
     1666  <DistanceTrigger name="testDistanceTrigger" position="0,0,0" distance=10000 target="SpaceShip" stayActive="true" delay=37.0>
     1667    <EventTrigger name="testEventTrigger" activations="1" stayactive="true" delay=0.1>
     1668      <events>
     1669        <trigger>
     1670          <EventListener event="attacktrigger6" />
     1671        </trigger>
     1672      </events>
     1673    </EventTrigger>
     1674  </DistanceTrigger>
     1675
     1676    <Script code="Mission endMission true" onLoad="false">
     1677        <events>
     1678            <trigger>
     1679                <EventListener event="testDistanceTrigger" />
     1680            </trigger>
     1681        </events>
     1682    </Script>
     1683
     1684    <Script code="Mission endMission false" onLoad="false">
     1685        <events>
     1686            <trigger>
     1687                <EventListener event="gameEnd" />
     1688            </trigger>
     1689        </events>
     1690    </Script>
     1691
     1692
     1693
     1694
     1695
    16601696
    16611697    <!--Script code="addBots 3" onLoad="false">
Note: See TracChangeset for help on using the changeset viewer.