Author Topic: is-goal-true-delay vs is-previous-goal-true - how do they work?  (Read 3028 times)

0 Members and 1 Guest are viewing this topic.

Offline 0rph3u5

  • 211
  • Oceans rise. Empires fall.
is-goal-true-delay vs is-previous-goal-true - how do they work?
I just got an weird edge case in my PMs:

A player playing Hellgate: Ikeya reported that they cheated to explore possible outcomes of the final mission of that campaign (HGI_04.fs2). Because the mission is so old, there were of course none to be found.

During the course of their "exploration" the player destroyed several ships that supposed to depart (using the cheats to disable their guardian-status and using ~K). And then used the cheat to turn all mission objective complete (~G).

The result was that they got the debriefing for a mission failure - as the Debriefing stages use either is-goal-true-delay or is-goal-false-delay on one or both legitimate primary objectives as a determining factor (the mission has 3, but the third one is meant to fail in the normal sequence of the mission).

BUT they were able to progress the campaign. Campaign progress is governmed by is-previous-goal-true.


So this leaves me with questions regarding the different way these SEXPs appear to operate.

Because, as it appears, is-goal-true/false-delay appears to be satisfied by the first the result that is logged (when the player kill-cheated the sequence critical ships, they failed both mission objectives evaluated in the debrief stages) but is-previous-goal-true appears to evaluate the state the mission objectives are in at the end of the mission, which was changed by cheating later.
"As you sought to steal a kingdom for yourself, so must you do again, a thousand times over. For a theft, a true theft, must be practiced to be earned." - The terms of Nyrissa's curse, Pathfinder: Kingmaker

==================

"I am Curiosity, and I've always wondered what would become of you, here at the end of the world." - The Guide/The Curious Other, Othercide

"When you work with water, you have to know and respect it. When you labour to subdue it, you have to understand that one day it may rise up and turn all your labours into nothing. For what is water, which seeks to make all things level, which has no taste or colour of its own, but a liquid form of Nothing?" - Graham Swift, Waterland

"...because they are not Dragons."

  

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: is-goal-true-delay vs is-previous-goal-true - how do they work?
You've pretty much got it. is-goal-true checks the mission log. is-previous-goal-true checks the campaign file.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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