Page MenuHomeFeedback Tracker

Clearing under barrel grenade launchers via BaseMuzzleComponent::ClearChamber or BaseMagazineComponent::SetAmmoCount(0) does not work
Closed, ResolvedPublic

Description

My goal is to spawn an {63E8322E2ADD4AA7}Prefabs/Weapons/Rifles/AK74/Rifle_AK74_GP25.et and manually clear the grenade launcher dynamically via script.

I tried to clear all the barrels via BaseMuzzleComponent::ClearChamber and I tried getting the magazine component from the barrel and then do BaseMagazineComponent::SetAmmoCount(0) on it, neither of which had any effect in 0.9.8.50.

This happens past EOnInit.

Details

Severity
Major
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
General

Event Timeline

Arkensor created this task.May 2 2023, 5:11 PM
Geez changed the task status from New to Assigned.May 3 2023, 10:54 AM
Geez closed this task as Resolved.May 3 2023, 11:48 AM
Geez claimed this task.
Geez added a subscriber: Geez.

Fixed in one of the future updates.