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?


Share this post

Link to post
Share on other sites
44 minutes ago, John Dowson said:

Take a look at offset 2900.


Thanks John, that sounds good. I will have a look.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • 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.