Is there any way to know if a unit is looking at an object? Or at a direction, such as a range between 270 and 300 degrees, for example.
I'll explain what I want to do. I want the player to be able to execute an action if he's looking at an object. But he must be looking at it, so only a trigger with a small size is not enough. I need him to be seeing it, and besides (I know how to do that) he must be close enough. Ideas? Suggestions? An example mission?