Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: Hobbie on July 24, 2013, 08:12:54 am

Title: Ship arrives after it's already departed
Post by: Hobbie on July 24, 2013, 08:12:54 am
So I'm working on putting together my first mission, and I've run into a bit of a snag I'm not sure how to solve.

See, what I want to do is have a ship warp out, then after a certain amount of time, warp back in. Essentially a departure, followed by an arrival.

Is there any way to do this?
Title: Re: Ship arrives after it's already departed
Post by: Lorric on July 24, 2013, 08:36:55 am
I know this happens in the 2nd mission of Wings of Dawn.

Title: Re: Ship arrives after it's already departed
Post by: mjn.mixael on July 24, 2013, 08:42:26 am
You'll need two ships. Name them GVD NAME#WHATEVER and GVD NAME#WHATEVER2. Anything after the # will not be shown to the player, so it will seem like they have the same name. Then set ship2's arrival cue to delayed after ship1 departs.
Title: Re: Ship arrives after it's already departed
Post by: Axem on July 24, 2013, 08:43:19 am
To add to that, using the copy-ship-damage sexp (or something like that) can copy a ship's damage (duh!) so it looks like it didn't magically repair itself in 2 minutes.
Title: Re: Ship arrives after it's already departed
Post by: Arpit on July 24, 2013, 11:27:58 am
So I'm working on putting together my first mission, and I've run into a bit of a snag I'm not sure how to solve.

See, what I want to do is have a ship warp out, then after a certain amount of time, warp back in. Essentially a departure, followed by an arrival.

Is there any way to do this?

So you don't like reading the wiki, eh ?  :p

Here's a complete tutorial (http://www.hard-light.net/wiki/index.php/Tutorial_-_In-Mission_Jumps) written by Axem .
Title: Re: Ship arrives after it's already departed
Post by: Hobbie on July 24, 2013, 05:18:37 pm
So you don't like reading the wiki, eh ?  :p

Here's a complete tutorial (http://www.hard-light.net/wiki/index.php/Tutorial_-_In-Mission_Jumps) written by Axem .

No, I'm just... completely and utterly blind. I did NOT see that.

Anyway, thanks a bunch guys, I will give it a shot and post the results up when the mission is finally playable.