I am setting up a weapon pickup system and I am having trouble setting up the Widgets/UI. I have separate “WeaponPickup” actors where I am detecting the player overlapping with a volume component + when the player interacts ‘F’ it will equip the weapon and destroy the pickup actor. What I want is an image to display when the player walks over the pickup actor. I have made separate image files for each weapon with text (Press F to pickup weapon name) + an icon of each weapon. I know I could easily do this with text within the editor, but the images allow for better quality + the image of the weapon.
The best solution IMO would be to find a way within the WeaponPickup actor to set the Widget to display and trigger it on and off based on the player walking over the weapon. Is there a way to do that?
Or would I set this up in 1 Widget with all the images stacked and use different bindings for each to toggle visibility? If so, what is the best way to detect which weapon it is that the player is standing on without having checks from the player for each weapon?
Not super experienced with UI/HUD in Unreal.
Any guidance is appreciated. Thanks!!