Page MenuHomeFeedback Tracker

removeWeaponGlobal doesn't properly affect all pylon weapons of some CSLA helicopters
Acknowledged, NormalPublic


removeWeaponGlobal can be used to remove pylon weapons from vehicles. However, for some CSLA helicopters, not all pylon weapons can be removed with this command. I could not even begin to speculate why this is the case.


Operating System
Windows 10 x64
Steps To Reproduce
  1. Place one of the following CSLA helicopters with the player as the pilot: Mi-24V, AH-1F, MH-60A DAP (Pylons)
  2. Start the mission
  3. Run this code in the debug console:
 systemChat getText (configFile >> "CfgMagazines" >> _x >> "pylonWeapon"); 
 (vehicle player) removeWeaponGlobal getText (configFile >> "CfgMagazines" >> _x >> "pylonWeapon"); 
} forEach getPylonMagazines (vehicle player);
  1. Note that all the aircraft's pylon weapons are logged to chat as they are "removed". Note also that the aircraft still has some of the weapons supposedly removed - for example, the MH-60 DAP's rocket pods are still available for the pilot to use.
  1. Repeat this test with other aircraft such as the Mi-17 (Pylons) or the vanilla AH-99 Blackfoot. Note that for those aircraft, all pylon weapons are correctly removed.

Event Timeline

NikkoJT created this task.Dec 14 2022, 2:29 AM
Lukyy changed the task status from New to Acknowledged.Jul 24 2023, 12:52 PM
Lukyy added a subscriber: Lukyy.

Thank you for the report, we'll look into it.