Rustle32 Posted July 25, 2012 Share Posted July 25, 2012 Is there a property or function within Papyrus scripting that determines if an object is with in a player's Field of View? I am exploring the idea of a Weeping Angel type object or monster. Don't Blink! Link to comment Share on other sites More sharing options...
DavidD Posted July 25, 2012 Share Posted July 25, 2012 (edited) You should look at this: http://www.creationkit.com/Category:Papyrus I am not sure. I have forgotten most things about papyrus Edited July 25, 2012 by DavidD Link to comment Share on other sites More sharing options...
Rustle32 Posted July 25, 2012 Author Share Posted July 25, 2012 You should look at this: http://www.creationkit.com/Category:Papyrus I am not sure. I have forgotten most things about papyrus Thanks. I checked there, didn't see any script properties or functions relating to field of view or view frustums. I did find GetHeadingAngle which might be adapted for my purpose. Link to comment Share on other sites More sharing options...
steve40 Posted July 26, 2012 Share Posted July 26, 2012 (edited) LINE OF SIGHT (LOS). There are several different functions related to this in the wiki. edit: even though it is called "line" of sight, I found in practice that it fires if the target is anywhere in the FOV provided it is not hiding behind an obstacle. So the npc can be at the edge of my screen and it will still fire an LOSGain event. Edited July 26, 2012 by steve40 Link to comment Share on other sites More sharing options...
Rustle32 Posted July 31, 2012 Author Share Posted July 31, 2012 Sounds like it may work. One question though, does the LOS work on the PC's location in 3rd person view, as if the player was in first person or, does it reflect what is shown on the screen? Link to comment Share on other sites More sharing options...
Recommended Posts