I’m currently trying to figure out how to trigger an event (something simple like making a light visible) when the crosshair (i.e center of the screen) is looking at an object.
Basically like a CursorOver event type thing, but for the crosshair. I assume it will be a bit more complicated than a cursor hover event though haha.
If anyone could provide some help that would be great.
An added bonus would be if I could specify a minimum distance away from the object that the player has to be to trigger the event too.
Quick ‘n’ Dirty sketch of what I want (obviously simplified a lot):
I saw this thread but I’m not sure if they were headed in the right direction, and the OP of that thread never actually got a working example from the looks of it.