Jump to content

(Mission Builder) Detect that a vessel is gone, regardless of how


Recommended Posts

There are 3 ways I can think of that a vessel becomes gone:

1 - Destroyed.

2 - Splashed or Landed and then recovered.

3 - Merged into another craft via docking.

I can't figure out, after several hours of trying, how to form  test that can detect if a vessel is gone and *not care* which reason there is that it's gone.

Alternatively, if I could test a simple dumb count of how many vessels exist, period, that would give me what I need too.

What I'm trying to do is make a mission that does "space junk clearing".  It will spawn a few vessels in orbit for the player to try to recover, then later end the mission only after there's no vessels left in orbit.  I don't care about the order they get taken care of.  The mission score is based on whether you've made profit on the recovery costs that exceeds the money you spent building rockets.

I figured out how to score based on recovery cost/profit - I just can't figure out how on earth to trigger the end of the mission by detecting that all vessels aren't in orbit anymore, since there's so many different ways for a vessel to stop existing and I can't quite work out how to cover all of them.  The ugly problem is that if the player docks with the satellite and then brings it down to a soft landing, it's no longer *that* vessel anymore - it has become part of the recovery vessel, so any triggers based on *that* vessel being landed aren't going to be true.

 

Edited by Steven Mading
Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...