Skip to content

Instantly share code, notes, and snippets.

@commy2
Created July 10, 2016 06:42
Show Gist options
  • Save commy2/c48670bdfcc4b877f57987cabe06cbe6 to your computer and use it in GitHub Desktop.
Save commy2/c48670bdfcc4b877f57987cabe06cbe6 to your computer and use it in GitHub Desktop.
private _e = [];
private _c = "true" configClasses (configFile >> "CfgVehicles");
{
private _ce = "true" configClasses (_x >> "DestructionEffects") apply {toLower getText (_x >> "type")} select {(_x find "\") isEqualTo -1};
_e append _ce;
_e = _e arrayIntersect _e;
} forEach _c;
_e = _e select {!isClass (configFile >> "CfgCloudlets" >> _x)} select {!isClass (configFile >> "CfgLights" >> _x)} select {!isClass (configFile >> "CfgDamageAround" >> _x)};
copyToclipboard str _e;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment