treshold82
New member
I'm using external inventory system and currently adding ammo works with inventory as adding specific weapons.
Currently my problem is that i would like to remove just ammo of the weapon :
I have bow and arrow equipped in my character sheet and if i remove only arrows i would like to empty ammo of the opsive inventory too,
but if I use
inventory.RemoveItem , it doesn't work on consumableitemtype i think.
In my debug I see BowArrow is itemtype to be removed and amount is 2 for example but nothing happens.
How would I remove only ammo of the weapon?
I tried to look up shootable weapon how it does consume ammo but couldnt find direct answer yet - so any pointers could help thx
Currently my problem is that i would like to remove just ammo of the weapon :
I have bow and arrow equipped in my character sheet and if i remove only arrows i would like to empty ammo of the opsive inventory too,
but if I use
inventory.RemoveItem , it doesn't work on consumableitemtype i think.
In my debug I see BowArrow is itemtype to be removed and amount is 2 for example but nothing happens.
How would I remove only ammo of the weapon?
I tried to look up shootable weapon how it does consume ammo but couldnt find direct answer yet - so any pointers could help thx