This seems like such a simple thing that I'm sure there's an easier way to accomplish this, but what the heck. I've got a mission with three Poseidon freighters, Theta 1, 2, and 3 - they are not in a wing - carrying Cargo Alpha, Beta, and Gamma respectively. In order to provide a useful directive for the player, I've got a CargoLeft variable that starts at 3 and decreases each time one of the containers is destroyed. I can also know at any point how many containers are left, and send different messages accordingly. For my debriefings, I thought I would be Super Smooth
TM and just have three stages, one for each of the three number of possible containers left, coupled with a check that the RTB directive is true to make sure the player doesn't get the debriefing stage if he just randomly jumps out.
For some reason, this doesn't show a debriefing stage. I'm not sure if my logic won't work (variables are gone by debriefing or something), or if I'm just using the sexps wrong (can I use an equal sign like that, or do I need to query it somehow). Any takers?

I just have three of these.
- and
- =
- CargoLeft(3)
- 3 (and 2, and 1)
- is-event-true-delay
- RTB Pass/Maybe
- 0