ciribob / DCS-CSAR

35 stars 12 forks source link

Cannot drop on invisible FARPs #13

Open davidp57 opened 8 months ago

davidp57 commented 8 months ago

When having a rescued pilot onboard, if I land on an invisible FARP (such as the one in the picture below, generated by the VEAF scripts), it never gets out of the helo.

It works perfectly on a regular, boring and ugly FARP ^^

image

davidp57 commented 8 months ago

I analyzed this and it comes from this block of code:

if _place == nil then
  env.info("Landing Place Nil")
  return -- error!
end

I think it should be changed with a search for the closest valid landing zone (as it's in CTLD) but that's a big change that needs proper thinking, and work.