HallyG / HALs_Store

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

[Question] Is it possible to exclude the players inventory space (uniform, vest, backpack) as target for buying items? #21

Open svencc opened 2 years ago

svencc commented 2 years ago

So as a result, everything i buy is put into a container. Is that possible?

svencc commented 2 years ago

\HALs_Store.VR\HALs\Addons\store\functions\client\ui\fn_main.sqf

-> I commented following three Lines in your script. (Line 287-289)

//[uniform player, "Uniform", "a3\ui_f\data\gui\Rsc\RscDisplayArsenal\uniform_ca.paa", uniformContainer player],
//[vest player, "Vest", "a3\ui_f\data\gui\Rsc\RscDisplayArsenal\vest_ca.paa", vestContainer player],
//[backpack player, "Backpack", "a3\ui_f\data\gui\Rsc\RscDisplayArsenal\backpack_ca.paa", backpackContainer player]

The players uniform, vest and backpack are not longer available in the shops target inventory screen.

This seems to be working for me. Do you think thats O.K. Or do you expect any other side effects?