Guest User

Untitled

a guest
May 25th, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. private _pylons = getPylonMagazines (_this select 1);
  2. private _pylonPaths = (configProperties [configFile >> "CfgVehicles" >> typeOf (_this select 1) >> "Components" >> "TransportPylonsComponent" >> "Pylons", "isClass _x"]) apply {getArray (_x >> "turret")};
  3. {
  4. (_this select 0) removeWeaponGlobal getText (configFile >> "CfgMagazines" >> _x >> "pylonWeapon")
  5. } forEach getPylonMagazines (_this select 0);
  6. {
  7. (_this select 0) setPylonLoadOut [_forEachIndex + 1, _x, true, _pylonPaths select _forEachIndex]
  8. } forEach _pylons;
Add Comment
Please, Sign In to add comment