HallyG / HALs_Store

Weapon Shop for ARMA 3
Other
17 stars 7 forks source link

Can't Edit Container Types #23

Open umichhaidn opened 2 years ago

umichhaidn commented 2 years ago

I've tried changing the containerTypes[] attribute in store\config.hpp, but it has no effect on the containers that show up in the store. I've tried adding items like "AmmoBox", "Object", and "Thing", but no containers in range will show up in the trader dialog. I also tried removing "LandVehicle" from the list, but cars are still showing up in the available containers to trade from/to.

umichhaidn commented 2 years ago

Solved this one. In store\functions\fn_initServer.sqf "_types" was being hard coded to ["LandVehicle", "Air", "Ship"]. I changed it to HALs_store_containerTypes and the attribute now works.