Changeset 10812
- Timestamp:
- Nov 16, 2015, 4:30:49 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/campaignHS15/data/levels/Campaign1.oxw
r10809 r10812 364 364 </Script> 365 365 366 <!-- FIXME: This trigger needs fixing, as endMission can only be called by a Pawn Distance Trigger. Herpaderp. 367 Also, the fix proposed in MissionOne does not work anymore... --> 368 <EventMultiTrigger name="missionFailed" target="Pawn" stayActive="true" delay=1.5> 369 <events> 370 <trigger> 371 <EventListener event="transporter" /> 372 </trigger> 373 </events> 374 </EventMultiTrigger> 366 <!-- See the MissionFailed DistanceTrigger attached to the shuttle here! !--> 367 368 <DistanceTrigger name="missionNotFailed" position="0,0,0" distance=100000 target="SpaceShip" beaconMode="identify" targetname="transporter" /> 369 370 <!--FIXME: How does this work but the below does not?? --> 371 372 <SimpleNotification broadcast="true" message="TEST"> 373 <events> 374 <trigger> 375 <Trigger invert=true> 376 <EventTrigger> 377 <events> 378 <trigger> 379 <EventListener event="missionNotFailed" /> 380 </trigger> 381 </events> 382 </EventTrigger> 383 </Trigger> 384 </trigger> 385 </events> 386 </SimpleNotification> 375 387 376 388 <Script code="Mission endMission fail" onLoad="false"> 377 389 <events> 378 390 <trigger> 379 <EventListener event="missionFailed" /> 391 <Trigger invert=true> 392 <EventTrigger> 393 <events> 394 <trigger> 395 <EventListener event="missionNotFailed" /> 396 </trigger> 397 </events> 398 </EventTrigger> 399 </Trigger> 380 400 </trigger> 381 401 </events> … … 1109 1129 <attached> 1110 1130 <DistanceTriggerBeacon name="NPC" /> 1131 <DistanceTriggerBeacon name="transporter" /> 1111 1132 <DistanceTrigger active=false name="reachedShuttle" position="0,0,0" distance=400 target="SpaceShip" beaconMode="exclude" targetname="NPC" stayactive=true> 1112 1133 <events>
Note: See TracChangeset
for help on using the changeset viewer.