Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10808


Ignore:
Timestamp:
Nov 16, 2015, 3:31:43 PM (9 years ago)
Author:
paulsc
Message:

ended quests, added mission accomplishment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/campaignHS15/data/levels/Campaign1.oxw

    r10804 r10808  
    348348    </EventMultiTrigger>
    349349
     350    <DistanceTrigger active=false name="reachedB" position="<?lua printC(cB) ?>" distance=400 target="SpaceShip" beaconMode="exclude" targetname="NPC" stayactive=true>
     351        <events>
     352            <activity>
     353                <EventListener event="waveClear3" />
     354            </activity>
     355        </events>
     356    </DistanceTrigger>
     357
     358    <Script code="Mission endMission true" onLoad="false">
     359        <events>
     360            <trigger>
     361                <EventListener event="reachedB" />
     362            </trigger>
     363        </events>
     364    </Script>
     365
    350366    <!-- FIXME: This trigger needs fixing, as endMission can only be called by a Pawn Distance Trigger. Herpaderp.
    351367    Also, the fix proposed in MissionOne does not work anymore... -->
     
    481497    </QuestEffectBeacon>
    482498
     499    <QuestEffectBeacon times=1>
     500        <effects>
     501            <CompleteQuest questId="quest7" />
     502        </effects>
     503        <events>
     504            <execute>
     505                <EventListener event="waveClear3" />
     506            </execute>
     507        </events>
     508    </QuestEffectBeacon>
     509
    483510    <!--NOTIFICATIONS -->
    484511
     
    661688                      <trigger>
    662689                         <EventListener event="reachedShuttle" />
     690                      </trigger>
     691                   </events>
     692                </EventTrigger>
     693            </trigger>
     694        </events>
     695    </SimpleNotification>
     696
     697    <SimpleNotification broadcast="true" message="Congrats, Commander! You saved our skin.">
     698        <events>
     699            <trigger>
     700                <EventListener event="waveClear3" />
     701            </trigger>
     702        </events>
     703    </SimpleNotification>
     704
     705    <SimpleNotification broadcast="true" message="Get over to Station B to take a break.">
     706        <events>
     707            <trigger>
     708                <EventTrigger stayactive="true" delay=4 >
     709                   <events>
     710                      <trigger>
     711                         <EventListener event="waveClear3" />
    663712                      </trigger>
    664713                   </events>
Note: See TracChangeset for help on using the changeset viewer.