pendranome
New member
Hey folks. I'm working on a mod and I'm trying to implement a rudimentary inventory system. I want to display the currently held items as a series of small icons next to the player's lifebar. I've already thought out the general steps I'll need to take but I'm not sure what script method I should use to display the icon. I'm confused as to if I should use the drawsprite method in a script somewhere of if I need to spawn a new entity instead. If I use drawsprite, how do I make it so the sprite persists until the item is used, at which point it should stop displaying. If I spawn the icon as an new entity, how do I place it in relation to the HUD as opposed to the actual game world? Which method would be less memory intensive? I've been looking in the forums and I found a topic that looked like it could help a while ago where the guy was trying to display equipped gems or something but I can't seem to find it anymore(should have bookmarked it) Anyway, I would really appreciate if someone could point me in the right direction.