saildeep / SmmCaptureEvolve.Altis

Capture the Island Mission for ARMA3
2 stars 2 forks source link

Arsenal corner cases(default bipod/prelaoded missile) #30

Closed hanibalv2 closed 6 years ago

hanibalv2 commented 6 years ago
hanibalv2 commented 6 years ago

to 1.) It is not possible to add the dummy via PurchaskeItem because it is a Scope=1 object I think. It seems that we need a "addItemHiddenToArsenal" Function to add those items.

hanibalv2 commented 6 years ago

to 2.) I think I found a fix for that. At the moment the weapon is added to the player in the virtual arsenal the following command should be executed.

if (_weaponType IN ["AssaultRifle","Rifle","SniperRifle","SubmachineGun","MachineGun"]) then { removeAllPrimaryWeaponItems _player; };

Is it possible to add this?