ThatSinisterGuy Posted November 4, 2016 Share Posted November 4, 2016 Hey all, first time posting here. I've been dabbling with the CK on and off for quite a while, but getting more stuck into it recently. My current project requires that I be able to do one of the following:1. Determine if the player has been seen by an NPC (whether hidden or not)2. Determine whether another NPC exists within a given distance First prize is option 1, but option 2 can work too. I am basically trying to determine whether the player has been noticed by an NPC as they walk around. I am still digging around, but if anyone can give me some direction on this it would be most appreciated. I am a coder by trade, so just a nudge in the right direction may be all I need to find my solution. Link to comment Share on other sites More sharing options...
m0ds1984 Posted November 4, 2016 Share Posted November 4, 2016 (edited) I don't know as I've never tried, but a little search shows this might have some direction to it:http://www.creationkit.com/index.php?title=Detection_Tab If you can make an NPC say something when they detect you, maybe you can make them do something else in its place (or utilize those detection points). This is however, behind the Quest and Dialogue sections, so also maybe not... Edit. Looks like there's a whole section on this though, may be more pertinent, good luck!http://www.creationkit.com/index.php?title=Category:Detection Edited November 4, 2016 by m0ds1984 Link to comment Share on other sites More sharing options...
ThatSinisterGuy Posted November 7, 2016 Author Share Posted November 7, 2016 Thanks for the assist. While the links provided didn't yield much themselves, it did get me started down a path to find some answers. In the end I've managed to achieve my goal, even if it is in a bit of a convoluted way. I found this Skyrim link (below) which led me to applying scripts to nearby actors to be able to detect the player. http://www.gamesas.com/dynamically-attaching-scripts-actors-near-the-player-t255702.html From there, I managed to find an IsDetected() method that I can use between the NPC and player. Just posting this in case somebody else can use this as a stepping stone in their efforts. Link to comment Share on other sites More sharing options...
Recommended Posts