Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: haloboy100 on July 23, 2007, 06:14:13 pm

Title: Yet another newbie question
Post by: haloboy100 on July 23, 2007, 06:14:13 pm
So i finally started my own campaign (Huzzah!), and i'm almost done my first mission from starting it last night. I want the end of my mission to be landing inside the hanger bay of a ship (this is the inferno mod, so the hangerbay of a GTCa Warlock). I've seen a lot of missions where they allow you to do this, but can someone tell me how to do this?

Thanks in advance.
Title: Re: Yet another newbie question
Post by: TrashMan on July 23, 2007, 06:26:03 pm
when
   ( <
      ( distance-ship-subsystem
         "Alpha 1"
         "Delacroix"
         "fighterbay"
      )
      150
   )
   ( end-mission )





OR, IF YOU HAVE MULTUIPLE FIGHTERBAYS:

$Formula: ( when
   ( or
      ( <
         ( distance-ship-subsystem
            "Alpha 1"
            "Fury"
            "fighterbay2"
         )
         50
      )
      ( <
         ( distance-ship-subsystem
            "Alpha 1"
            "Fury"
            "fighterbay3"
         )
         50
      )
   )
   ( end-mission )

Title: Re: Yet another newbie question
Post by: haloboy100 on July 23, 2007, 06:37:27 pm
Thanks alot.