Update ammo in Hotbar

Shanmukh

Member
I avoid Item View ("SlotItemMonitor" script) from Ucc. I Use the UIS Item view by Hotbar, for better flexibility. but there are some issues.
1. UIS not updating ammo when use weapon on every time.
2. it only showing Weapon ammo "Loadout Count/ClipSize". I like to show ammo "Loaded Count/ UnLoaded Count"
 
Last edited:
I had time to look into it.

I found that it was better to listen to the character events to see when a consumable amount was used by the character to know when to redraw the Item View Module.

I also added a third field for Unloaded Count. This way you may now choose between showing the the clip size or showing the unloaded ammo count in the Item View.

Please find attached the new Weapon Ammo Item View Module below. I'll include this one in the next update
 

Attachments

  • WeaponAmmoItemViewModule.cs
    7.2 KB · Views: 9
Top