Results 1 to 5 of 5

Thread: Checking if helicopter is on ground or at altitude of 0?

  1. #1

    Checking if helicopter is on ground or at altitude of 0?

    I have a question, is it possible to check if a helicopter is on ground or is at the altitude of 0 meters? So that the pilot can turn off it's engine? I know about

    unit action ["engineOff", targetVehicle]
    but what I need is a condition.

  2. #2
    Yes it is.

  3. #3
    in condition of a trigger just put "(getPos HeliName select 2) <= 0" then in the OnAct use your "unit action ["engineOff", targetVehicle] " fairly sure that would work

  4. #4
    wll getPos didin't work but I made some more searching and testing and I got this:

    (getPosATL helicopter1 select 2) <= 0
    And it works. Thanks for help!

  5. #5
    Master Sergeant
    Join Date
    Nov 29 2001
    Location
    Oslo, Norway
    Posts
    732
    getPos works like a charm for me...
    You know about land, right?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •