jabobwhitey
New member
Hi there! I'm loving the controller, makes my life so much easier!
I am currently building some basic UI components for my game, and need to show both the amount of ammo in the inventory as well as the amount of ammo already in the clip for the currently equipped weapon. I searched the forums/doucmentation and couldnt seem to find anything!
I am retrieving the bullets from the inventory with the following:
And using the
But is there any API I can use to get the ammo in the clip?
Thanks!
I am currently building some basic UI components for my game, and need to show both the amount of ammo in the inventory as well as the amount of ammo already in the clip for the currently equipped weapon. I searched the forums/doucmentation and couldnt seem to find anything!
I am retrieving the bullets from the inventory with the following:
inventory.GetItemIdentifierAmount(bulletType)
And using the
OnInventoryAdjustItemIdentifierAmount
and OnItemAbilityActive
to check for changes.But is there any API I can use to get the ammo in the clip?
Thanks!