Jump to content

Recommended Posts

Posted (edited)

Does anyone know how to have a NPC leave a cell after speaking to the player ?

I don't need the npc to walk away just not pop out of view with disable()

I've tried adding this to the diaolgue papyrus fragment...
RegisterForLOS(Actor akViewer, ObjectReference akTarget)

and then adding this event... but it seems it never gets here ???
Event OnLostLOS(Actor akViewer, ObjectReference akTarget)
debug.messagebox("Player has left...")
EndEvent

 

I guess I'm missing something but don't know what :sad:

 

Help please.

Edited by The-Wanderer
Posted

Solved... sort of...

I still can't find a way to do it in the script... If anyone knows how then I'd still like to know how

 

But to work around it I have created a Trigger on the path the pc will have to take to leave and used that to remove the npc.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...