Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: Ryan on December 06, 2007, 08:43:30 pm

Title: PROTECTING ships?
Post by: Ryan on December 06, 2007, 08:43:30 pm
Hey! I just had an idea for a new campaign, and i was wondering.

Whats the SEXP's and mission objectives i have to type in so that a mission fails when X ship is destroyed? Or whats the SEXP For making a ship leave?
Title: Re: PROTECTING ships?
Post by: karajorma on December 07, 2007, 02:16:20 am
To make a ship leave either set the departure cue for it in the ships editor or send it an ai-warp-out goal.

For your objective simply have an event that checks if the mission is complete AND the ship is not destroyed.



Oh and BTW this shouldn't be in here unless it relates to a FRED Academy mission.
Title: Re: PROTECTING ships?
Post by: Ryan on December 07, 2007, 05:02:10 pm
Sorry. Wrong board Thanks for the awnser!
Title: Re: PROTECTING ships?
Post by: Ryan on December 08, 2007, 01:21:14 pm
To make a ship leave either set the departure cue for it in the ships editor or send it an ai-warp-out goal.

For your objective simply have an event that checks if the mission is complete AND the ship is not destroyed.



Oh and BTW this shouldn't be in here unless it relates to a FRED Academy mission.

I typed in Departure-cue in the ship editor and it crashed. Is that the exact thing to type in?
Title: Re: PROTECTING ships?
Post by: karajorma on December 08, 2007, 01:24:35 pm
I didn't say to type it in. The current entry is false. It's a SEXP same as the ones all over the rest of the game. When it evaluates to true the ship departs.


Are you sure you've done the walkthrough?