I thought that's what you meant. It's more complicated than you think, as you'd need to make sure the icon only appears when appropriate (i.e. when the event you're facing is an NPC you can talk to, rather than an item ball or PC or something). I think that's the hardest part, although the rest of it is pretty difficult too.
My advice is that if you don't know enough to have had a decent go at making it yourself, just don't bother with it. It's at a whole other level.
I don't know, because you haven't really given me any information about what you're trying to do. Are you doing it in the scripts, or in an event, or what? What "background" are you talking about? And so on.