Page MenuHomeFeedback Tracker

addBag action will switch from secondary weapon to primary
New, WishlistPublic

Description

When you have a secondary weapon equipped (Not a sidearm, but a missile launcher), running
player action ["AddBag", _ubp, _bpc]
Will cause the action to occur, but the player will switch to their primary weapon.

Details

Legacy ID
3211331160
Severity
None
Resolution
Open
Reproducibility
Always
Category
Other
Steps To Reproduce

Open the editor and place down a player who has a secondary weapon.
Select the missile launcher and equip it.
Run the following code in the debug console:

  • spawn {_bpc = "B_FieldPack_cbr"; _bpc createVehicle getPos player; _ubp = nearestObject [player, "groundWeaponHolder"]; player action ["AddBag", _ubp, _bpc];}

Event Timeline

Tinter edited Steps To Reproduce. (Show Details)Jul 10 2014, 6:08 PM
Tinter edited Additional Information. (Show Details)
Tinter set Category to Other.
Tinter set Reproducibility to Always.
Tinter set Severity to None.
Tinter set Resolution to Open.
Tinter set Legacy ID to 3211331160.May 7 2016, 6:56 PM
Bohemia added a subscriber: AD2001.Jul 10 2014, 6:08 PM