I’ve been working on a stealth system for a while, but I stumbled upon an issue
I want the player to know who exactly is noticing them, and for that I would use UI. I can not figure out how to make that follow the position of my npc’s head.
I couldn’t really find anything of help since this question was not posted as it appears.
I’m looking for more of an idea not entire scripts or systems.
You could make it so when an NPC notices the player the NPC gets an exclamation mark on their head and maybe play a sound so the player can tell which NPC spotted them
Yes but guards have a percent of detection, so I can show the percent on a text label, but I needed that label to basically point to my npc, such as when the npc is above, the ui goes up on the screen