Author Topic: is-previous-goal-true not working [SOLVED]  (Read 1527 times)

0 Members and 1 Guest are viewing this topic.

is-previous-goal-true not working [SOLVED]
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?
« Last Edit: June 27, 2016, 01:42:55 pm by RyuHimora »

 

Offline niffiwan

  • 211
  • Eluder Class
Re: is-previous-goal-true not working
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.
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

 
Re: is-previous-goal-true not working
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.

  
Re: is-previous-goal-true not working
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!