Page MenuHomeFeedback Tracker

Action Gear allows you to duplicate items and weapons
Closed, ResolvedPublic

Description

if you open your gear with the scripted command "player action["GEAR",player];" it will open the gear menu but fill the left hand side with all your inventory (that should not happen) as a resault you can right click the items and duplicate them {F22884}

Details

Legacy ID
4082006803
Severity
None
Resolution
Fixed
Reproducibility
Always
Category
Scripting
Steps To Reproduce

Load stock arma 3 dev or stable
Place a trigger with the activation of player action["GEAR",player]
Load mission
Use created action
Right click an item in the left side of the gear menu

Event Timeline

armatech edited Steps To Reproduce. (Show Details)Dec 5 2013, 8:47 PM
armatech edited Additional Information. (Show Details)
armatech set Category to Scripting.
armatech set Reproducibility to Always.
armatech set Severity to None.
armatech set Resolution to Fixed.
armatech set Legacy ID to 4082006803.May 7 2016, 5:34 PM

Any news on this I'm kinda dependent on this

I'm unable duplicate items, but I can make my items disappear instead. In any case why would you want to open gear on your own inventory? If you need scripted command for opening gear you need to create a ground weaponholder first:

player action ["Gear","GroundWeaponHolder" createVehicle position player];

alternatively

player action ["Gear", objNull];

player action ["Gear","GroundWeaponHolder" createVehicle position player];
player action ["Gear", objNull];
they work but do not show items that are on the ground

player action ["Gear", player];
loads the players gear + what's on the deck

what i feel it should load is the players gear menu as normal but also what is on the ground as that is how it functions in A2 and should do the same for A3

What items on the ground? If you have items on the ground to access you have to find out the weaponholder the items belong to first, then pass this weaponholder to the action command. If you want to just open the inventory then you can create your own weaponholder or pass objNull, then it will create empty weaponholder. If you transfer items to it they will show on the ground.

That's not how it works in A2 in A2 you issue player action["GEAR",player] and it opens the BIS inventory screen the same should happen in A3 as the menu "should" autodetect the items on the floor in order to fill the "on ground" option in the dropdown combo box. Either this is a bug or a new action is needed to open the inventory.
I strongly believe that as this action has different effects on 2 version of the same engine it would count this as a bug as it should work the same as if you where pressing the hotkey for your inventory in stock A3.

yeah, but if you may have noticed inventory in arma 3 is quite different.

yes i know it is but the function should work the same as it dose in A2

Any update on this from BIS?

_Hideoutbox = createVehicle ["Library_WeaponHolder",getpos player,[],0,"none"];
player action ["Gear", _Hideoutbox];
deletevehicle _Hideoutbox;

best work around so far just need to get rid of the crate option

best workaround

Doubt it. You delete the weaponholder to which you link inventory. This results in you not being able to place half the items on the ground and what you can place disappears.

yet it allows you to pick up items why the are you even commenting go hi jack your own reports

why not use cusorTarget instead? Too simple?

player action ["Gear", cursorTarget];

any news on this

Could you confirm this is still an issue, I'm unable to reproduce any duplication now.

player action ["Gear", objNull];

this works nice now this can be closed

Mass-closing all resolved issues not updated in the last month.

Please PM me in BI Forums (http://forums.bistudio.com/member.php?55374-Fireball) if you feel your bug was closed in error.