Author Topic: PROTECTING ships?  (Read 1790 times)

0 Members and 1 Guest are viewing this topic.

Offline Ryan

  • 27
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?

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
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.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Ryan

  • 27
Sorry. Wrong board Thanks for the awnser!

 

Offline Ryan

  • 27
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?

  

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
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?
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]