Mission Makers
You can use the API functions to read if a unit has crewProtection, as well as set/override the crew protection;
Addon Makers
- ace_crewprotection - config property - default: 0 - set to 1 for enabled.
To determine if the player-class is a pilot-class, the config property "ace_crewprotection" should be present in the CfgVehicles class.
See for example: http://browser.dev-heaven.net/cfg_vehicles/config/USMC_Soldier_Pilot
If your addon inherits from an already existing Crew/Pilot class, these values will be inherited automatically and you don't have to change anything.
