Ambrosia Garden Archive
    • Board Ships and Failing Missions


      I'm trying to write a mission where the player has to disable a ship and board it. I also want to be able to do something else if the ship is destroyed before the player can board it.

      I orignally thought I could have a mission which creates the special ship, and the point is to board the ship and get the cargo and then return to a planet. If the mission fails, then it activates another mission which is what happens if the ship is destroyed.

      The first mission works fine - if you disable the ship and board it, when you get back to the planet you get the reward. Unfortunately, if you destroy the ship, the mission stays active.

      Any ideas how I could get this to work?

      ------------------
      (url="http://"http://www.geocities.com/newkongindustries/")New Kong Industries (/url) - Home of the Night's Dawn TC, and the MissionPack!

    • Since you already have the onfail field set to activate the other mission just add in the abort code to same field, I think it would be 'Axxxx' where xxxx is the mission id of the mission you want to deactivate. If 'Axxxx' isn't the right code check the bible or the Novatools menu.

      ------------------
      I like long walks, especially those taken by people who annoy me.

    • No, the problem is that if the special ship is destroyed rather than boarded, the mission stays active. YOu can't complete it, because the ship is no longer around to board. It doesn't abort or fail, so using the onAbort or onFail fields doesn't work (that's how I orignally thought I could do it).

      ------------------
      (url="http://"http://www.geocities.com/newkongindustries/")New Kong Industries (/url) - Home of the Night's Dawn TC, and the MissionPack!

    • I believe you can set it to fail when the ship is destroyed.
      If you can't figure out how it's done, check the misn files, there are some that require you to board ships (there's a pirate one fairly far along the string, don't remember what it's called, though.)

      ------------------

    • Quote

      Originally posted by simon:
      **No, the problem is that if the special ship is destroyed rather than boarded, the mission stays active. YOu can't complete it, because the ship is no longer around to board. It doesn't abort or fail, so using the onAbort or onFail fields doesn't work (that's how I orignally thought I could do it).

      **

      Hmm... Mission requires special ship be boarded to pick up cargo. Ship is destroyed before
      cargo is picked up. Mission cannot continue, but doesn't fail.

      That sounds like a bug to me.

      Pan Sola

      ------------------
      Fundraising to buy a mac so I can play EV:N without using a Emulator (too slow with carrier combats) or taking over my best friend's computer.
      Please send all contributions via paypal to panguim@uclink4.berkeley.edu

    • Quote

      I believe you can set it to fail when the ship is destroyed

      That's what I thought, but I've been unable to find it. I'll check the pirate string though - thanks for the pointer.

      Quote

      Ship is destroyed before cargo is picked up. Mission cannot continue, but doesn't fail.

      That sounds like a bug to me.

      And it's not like the speical ship respawns if you leave the system or land or anything. It seems most odd.

      ------------------
      (url="http://"http://www.geocities.com/newkongindustries/")New Kong Industries (/url) - Home of the Night's Dawn TC, and the MissionPack!