Jump to content
The simFlight Network Forums

FSUIPC 5 + Lua: Possible to delete specific AI aircraft?

Recommended Posts

Hi guys, I hope you are all well.

I am currently creating a Lua script to do some automatic functions within my home cockpit. I came to the part where I want to achieve that the gate that is assigned to me just before landing, is actually not occupied by an AI aircraft.

I know the gate name and gate number of course, so I would like to find out if it's occupied (I could do so as well in GSX which I am using, by reading the menu entries there), but then - if it is occupied - I would like to delete it right before or after landing. Like the traffic zapper does, but that one only works when that aircraft is sitting in front of me 🙂

I have checked the FSUIPC Lua Plug-Ins.pdf and the FSUIPC5 Offsets Status.pdf, and it looks like I could possibly find out details about the AI / TCAS traffic, but can I also delete a specific aircraft?


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.