Hard Light Productions Forums
Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: NGTM-1R on August 23, 2005, 02:12:47 pm
-
Okay. I have three seperate circumstances that can trigger a departure directive and three seperate departure directives to go with them. Two of them result from mission-failure events, one of them is the standard "You won go home".
Now I'm trying to figure out how to trigger the AWOL debriefing properly so that I can encompass all three of the departure directives, and can't for the life of me do so. I've tried various ideas and they all either fail to trigger when the player jumps out at the wrong time, or trigger even when the player is given a departure directive.
What's the best way to do this?
-
I've always triggered the AWOL debriefing by having an event called Mission Complete that simply checks if the mission is finished (regardless of whether the player has actually won or not). e.g
when
-or
--is-Event-true-delay
---FIRST MISSION ENDING EVENT/CONDITIONS
--is-Event-true-delay
---SECOND MISSION ENDING EVENT/CONDITIONS
I find that this simplifies debriefings no end. In the AWOL debrief I simply check that it's false. In the 3 main debriefs I simply check that their particular condition has come true but in any other debriefing stages (for instance is cruiser x dead etc.) I can also check that the mission complete event is true and prevent them from appearing in the AWOL debrief.
-
I was going to suggest something, but Karajorma's way is better.