Cake.
I assume by 'log' you mean you figured out how to create a variable. (right click > create variable) For the purpose of this example we'll name the variable '
BetaStatus' and it will be an integer (as opposed to a string). It's initial value should be 0. Make sure it is campaign persistent.
Mission A:
When
- is-destroyed-delay
- modify-variable
- BetaStatus (right click > replace variable)
- 1
This will set it up so that if Beta is destroyed,
BetaStatus will be set to 1, otherwise it is 0.
Mission B:
When
Note: You'll need to "create" the campaign persistent variable in each mission as you FRED, but if it has the same name, FSO will figure it out. For Mission B, the argument could be in the arrival cue for Beta wing.