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.
Description
Description
Details
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];}