Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: RyuHimora on June 27, 2016, 01:29:10 am

Title: is-previous-goal-true not working [SOLVED]
Post by: RyuHimora on June 27, 2016, 01:29:10 am
I'm trying to make a briefing stage only be used if a goal was met in the previous mission. Both missions are in the campaign file, but the is-previous-goal-true SEXP is not letting me use any mission name other than the current one. Is there a guide for working with this SEXP?
Title: Re: is-previous-goal-true not working
Post by: niffiwan on June 27, 2016, 03:25:54 am
For documentation on SEXPs you can run FSO with the "-output_sexps" (aka Output SEXPs to sexps.html) option (under Advanced -> Dev Tools in the Launcher) which creates a html file with help for all the SEXPs available in the current version of FSO.
Title: Re: is-previous-goal-true not working
Post by: X3N0-Life-Form on June 27, 2016, 04:03:49 am
I don't think that's really gonna help, IIRC, this is basically the same documentation as the one found in FRED itself.


I'm trying to make a briefing stage only be used if a goal was met in the previous mission. Both missions are in the campaign file, but the is-previous-goal-true SEXP is not letting me use any mission name other than the current one. Is there a guide for working with this SEXP?

FRED itself might simply not be aware of missions other than the one currently opened, which means that you'll need to write the mission and goal names manually.
Title: Re: is-previous-goal-true not working
Post by: RyuHimora on June 27, 2016, 01:42:39 pm
FRED itself might simply not be aware of missions other than the one currently opened, which means that you'll need to write the mission and goal names manually.

That ended up working. Thanks!