ismael29h Posted July 7, 2020 Share Posted July 7, 2020 I understand that there is a function in geck that checks if a reference is reachable. In other words, an npc can walk to it without problems.What is that function? I need to do that check on a mod and I can't go on.Thanks in advance for any help you can give me. For example, if an enemy cannot hit you hand-to-hand because you are standing on top of a rock, this enemy usually walks away to verify that he is unreachable. Link to comment Share on other sites More sharing options...
UnvalidUserName Posted July 7, 2020 Share Posted July 7, 2020 What do you need it for? Is it to check for NPC interacting with something or someone or is it to start dialogue with the player? Link to comment Share on other sites More sharing options...
ismael29h Posted July 7, 2020 Author Share Posted July 7, 2020 What do you need it for? Is it to check for NPC interacting with something or someone or is it to start dialogue with the player?I need an npc to walk to another npc or bed (random). But sometimes they are in places that cannot be reached. I would like to check this before the npc moves in your direction to choose another target. (transport is discarded)PS: don't ask what mod I'm creating, lol Link to comment Share on other sites More sharing options...
ismael29h Posted July 8, 2020 Author Share Posted July 8, 2020 I have managed with "GetTargetUnreachable", it seems to work. The problem is solved :happy: Link to comment Share on other sites More sharing options...
Recommended Posts