Home   Help Search Login Register  

Author Topic: Commanding Helo Pilots  (Read 1096 times)

0 Members and 2 Guests are viewing this topic.

olivertinsman

  • Guest
Commanding Helo Pilots
« on: 17 Dec 2002, 07:33:57 »
If the pilot is under my command, how can I tell him to land somewhere? (without using h's).    

For example, I want to be able to select the pilot "F2", hit the "Actions" menu, then have an option for "Land".

Can this be done?  
 ???

Kaliyuga

  • Guest
Re:Commanding Helo Pilots
« Reply #1 on: 17 Dec 2002, 08:29:44 »
telling him to disembark should work.. but the pilot will then pick the most convenient place to land at ..


olivertinsman

  • Guest
Re:Commanding Helo Pilots
« Reply #2 on: 17 Dec 2002, 21:01:22 »
Disembark does work, but then the pilot gets out.  If I issue a stop command before touchdown the helo will hover about two feet off the ground.  This is a pain and there needs to be a better way.  Does anyone know of a script to make this happen?

Offline Ranger

  • Members
  • *
  • Hoo-ah!
Re:Commanding Helo Pilots
« Reply #3 on: 17 Dec 2002, 21:56:16 »
Does anyone know of a script to make this happen?

You can use the addAction command to create 2 menu items to do this, or you can have it as 2 radio calls.

The landing script would simply have the following code:

Code: [Select]
; Make the chopper land anywhere.

chopper flyInHeight 0

Now, to get the chopper to take off again, have another script with the following code:

Code: [Select]
; Make the chopper lift off.

chopper flyInHeight 30

Replace 30 with whatever altitude at which you really want the chopper to fly.  Also, replace "chopper" with your helicopter's name.

One menu action or radio call would call the first script, while the other action or call would call the second script.

Optionally, you can combine this into a single script and use if-then statements to check if the chopper should land or take off.  If you're interested in the 1-script idea, I can create an example.
Ranger

olivertinsman

  • Guest
Re:Commanding Helo Pilots
« Reply #4 on: 18 Dec 2002, 04:37:08 »
Quote
Optionally, you can combine this into a single script and use if-then statements to check if the chopper should land or take off.  If you're interested in the 1-script idea, I can create an example.

Yeah and example would be great, thanks!  :)

tsbardella

  • Guest
Re:Commanding Helo Pilots
« Reply #5 on: 18 Dec 2002, 20:16:37 »
Check out the news page for a new set of helo scripts..

O Neil

  • Guest
Re:Commanding Helo Pilots
« Reply #6 on: 18 Dec 2002, 23:28:26 »
Hey

Just a question. How do you get some pilot to land the heli, but not get out?

Thxs ;)