I've come to ask for some help regarding something that I've been wanting to implement on my small project, a monster kill counter that displays somewhere around the player's hud and of course, increases every time a monster dies.
For this project I been working on it's based around being some kind of arcade-y kind of mod, where the player is set on an arena to duke it out against monsters and the more the player kills and the counter rises, special messages appear next to the kill counter, similar to something like Devil May Cry's combos or Ultrakill's.
The issue is, I am quite unsure of how to properly do something like this, at first, I thought of every time a monster dies, on their death state use [wiki]https://zdoom.org/wiki/A_GiveToTarget[/wiki] and give the player a CustomInventory item that works to increase the counter via maybe ACS, by constantly checking the player's inventory and if they have the CustomInventory item, the counter will keep increasing respectively, every time it reaches a certain amount (ie. 5, 15, 30), a different message will appear on the screen, encouraging the good work of the player.
I am unfortunately not that good at ACS scripting since for the most part of my own personal projects I've made, I've only worked with DECORATE and very little with ZScript, but I still hope anyone can help me or point me towards the right direction to accomplish this kind of effect!
Cheers and have a very nice day!
