Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 29, 2013, 2:45:27 PM (11 years ago)
Author:
schlaem
Message:

To Do: Quest spacefight.guard1 doesn't complete when I've shot all the enemies

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/levelMichael/data/levels/Spacefight.oxw

    r9726 r9727  
    9090                                Attack them!"
    9191                        failMessage="You've lost all your ships!"
    92                         completeMessage="" />
     92                        completeMessage="Well done!" />
    9393                <complete-effects>
    9494                        <AddQuest questId="spacefight.guard1" />
     
    104104                <complete-effects>
    105105                        <AddQuest questId="spacefight.upgrade1" />
    106                         <!-- <AddQuest questId="spacefight.flying2" /> -->
     106                        <AddQuest questId="spacefight.flying2" />
    107107                </complete-effects>
    108108        </LocalQuest>
     
    166166                <events>
    167167                  <execute>
    168                     <EventListener event=spawntrigger />
     168                    <EventListener event=spawntrigger2 />
    169169                  </execute>
    170170                </events>
    171171                <attached>
    172                         <BlinkingBillboard position="5000,0,0" colour="1,0,0" frequency=0.5 amplitude=5 material="Examples/Flare"/>
     172                        <BlinkingBillboard position="5000,0,0" colour="1,0,0" frequency=0.5 amplitude=5 material="Examples/Flare" />
    173173                </attached>
    174174        </QuestEffectBeacon>
    175175
     176        <QuestEffectBeacon times=1>
     177                <effects>
     178                        <CompleteQuest questId="spacefight.flying1" />
     179                </effects>
     180                <events>
     181                        <execute>
     182                                <EventListener event="flying1" />
     183                        </execute>             
     184                </events>
     185        </QuestEffectBeacon>
     186
    176187        <QuestEffectBeacon times=1>
    177188            <effects>
    178                 <AddQuest questId="spacefight.guard1" />
     189                <CompleteQuest questId="spacefight.guard1" />
    179190            </effects>
    180191            <events>
    181192                <execute>
    182                     <EventListener event="flying1" />
     193                    <EventListener event="guard1trigger4" />
    183194                </execute>
    184195            </events>
     
    187198<!-- ---------------------------------------------------------------------- -->
    188199
    189   <DistanceTrigger name="flying1" position="3000,0,0" target="SpaceShip" distance=1500 stayActive="true" delay=0 />
     200  <DistanceTrigger name="flying1" position="3000,0,0" target="SpaceShip" distance=1000 stayActive="true" delay=0 />
    190201
    191202  <DistanceTrigger name=spawntrigger2 position="0,0,0" target="SpaceShip" distance=10 stayActive="true" delay=0 />
     
    235246<!-- Passive Piraten -->
    236247
    237 <SpaceShip position="5000,1000,0" lookat="-1,0,0" name="firstPatrol" radarname="Patrol">
     248<SpaceShip position="5000,1000,0" lookat="-1,0,0" name=firstPatrol radarname="Patrol">
    238249  <events>
    239250    <visibility>
    240       <EventListener event="spacefight.guard1" />
     251      <EventListener event=spawntrigger2 />
    241252    </visibility>
    242253  </events>
     
    254265</SpaceShip>
    255266
    256 <SpaceShip position="5000,0,0" lookat="-1,0,0" name="firstPatrol" radarname="Patrol">
     267<SpaceShip position="5000,0,0" lookat="-1,0,0" name=firstPatrol radarname="Patrol">
    257268  <events>
    258269    <visibility>
    259       <EventListener event="spacefight.guard1" />
     270      <EventListener event=spawntrigger2 />
    260271    </visibility>
    261272  </events>
     
    275286
    276287<!-- Angreiffender Pirat 1 -->
    277 <SpaceShip position="5000,-1000,1000" lookat="5000,1000,-1000" name="firstPatrol" visible="true" >
     288
     289<SpaceShip position="5000,-1000,1000" lookat="5000,1000,-1000" name=firstPatrol visible="true" radarname="Patrol" >
    278290  <events>
    279291    <visibility>
    280       <EventListener event=spawntrigger />
     292      <EventListener event=spawntrigger2 />
    281293    </visibility>
    282294  </events>
     
    292304      <events>
    293305        <activity>
    294           <EventListener event=spawntrigger />
     306          <EventListener event=spawntrigger2 />
    295307        </activity>
    296308      </events>
     
    300312
    301313<!-- Angreiffender Pirat 2 -->
    302 <SpaceShip position="5000,-500,-500" lookat="5000,1000,1000" name="firstPatrol" visible="true" >
     314<SpaceShip position="5000,-500,-500" lookat="5000,1000,1000" name=firstPatrol visible="true" radarname="Patrol">
    303315  <events>
    304316    <visibility>
    305       <EventListener event=spawntrigger />
     317      <EventListener event=spawntrigger2 />
    306318    </visibility>
    307319  </events>
     
    317329      <events>
    318330        <activity>
    319           <EventListener event=spawntrigger />
     331          <EventListener event=spawntrigger2 />
    320332        </activity>
    321333      </events>
Note: See TracChangeset for help on using the changeset viewer.