Greetings people. I’m after some advice/help/explanation about a function I am trying to add to my project. I want to have the player able to use a handheld/portable scanner device that when activated will trigger an effect on items in the world that are scannable to than display some data in a widget. I’m hoping for something very similar to what is used in the pc game Area 51. Any help would be amazing.
Try a capsule trace in front of the player getting overlapped objects. Maybe cast to an interface if the examined actor has it and call it’s function to retrieve it’s data and pass it on to a widget.
You can use a timeline (or timer in c++) to progress the scan, then call the retrieve function once the scan time is up.
Thank you for your quick reply, I appreciate it. I’m sorry I wasn’t very clear about my abilities but could you give a bit more information as to what you mean.
Here is a quick project I made that can give you some insight.
Thanks mate I’ll have a look. Appreciate it.