I am looking for help in simplifying the interaction between a player controlled character and NPCs. Currently I am trying to have the player character walk up to an npc then press a button to talk to said npc. The way I have been using is to search the pixels in a set area in front of the player for objects. If it finds an any objects it will check them all for the ability to interact with them. If one comes up as able to interact with, then the action will happen (in this case, pops a chat bubble).
I am mainly looking for other ideas on how to handle the search for the npc and the interaction. Any ideas or help will be appreciated. [import]uid: 39394 topic_id: 9881 reply_id: 309881[/import]
