Jump to content

Identifying a safe landing.


nickexists

Recommended Posts

I'm working on a script that involves keeping track of when a client is shot down. I'd like to make it so that if a damaged aircraft is returned to an airbase or farp then it doesn't count. As far as I can tell if a player leaves a damaged aircraft that is safely parked then the "crash" and "pilot dead" events are still registered. does anyone know how I can differentiate between a safely parked damaged aircraft that is despawned and an actually destroyed aircraft?

Link to comment
Share on other sites

Have a look through the CAP GCI script for examples of this kind of thing. Basically you can use an events and an event handler to check for aircraft that land or ones that crash (which is an actual logged event). There are a stack of different event codes for different things.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...