Explosives at Gunstores

  • Offline Mokey
  • Fractured Wasteland
  • Elite
  • ******
  • Posts: 606
  • Https://Fractured-Gaming.com

Explosives at Gunstores

« posted: Aug 23, 2015, 10:36 PM »
So I set it in the main config to not allow explosives at gun stores.

All explosives CAN NOT be placed at gunstores EXCEPT landmines.

Which file is it in to edit the class types to disallow it?
Posts once, edits post 40 times in 60 seconds. STUPID FAT FINGERS!
  • Offline CREAMPIE
  • Armaholic
  • Veteran
  • ******
  • Posts: 1077
  • ^_^;;

Re: Explosives at Gunstores

« Reply #1 posted: Aug 24, 2015, 07:03 AM »
This is what you're looking for

I added all explosive types ^^

Code: [Select]
if ({_ammo isKindOf _x} count ["PipeBombBase", "ClaymoreDirectionalMine_Remote_Ammo", "APERSTripMine_Wire_Ammo", "APERSBoundingMine_Range_Ammo", "APERSMine_Range_Ammo", "SLAMDirectionalMine_Wire_Ammo", "ATMine_Range_Ammo", "SatchelCharge_Remote_Ammo", "DemoCharge_Remote_Ammo", "IEDUrbanBig_Remote_Ammo", "IEDLandBig_Remote_Ammo", "IEDUrbanSmall_Remote_Ammo", "IEDLandSmall_Remote_Ammo"] > 0) then

- from the grassy knoll -
  • Offline Mokey
  • Fractured Wasteland
  • Elite
  • ******
  • Posts: 606
  • Https://Fractured-Gaming.com

Re: Explosives at Gunstores

« Reply #2 posted: Aug 24, 2015, 02:09 PM »
Thanks creampie.
Posts once, edits post 40 times in 60 seconds. STUPID FAT FINGERS!