Jump to content

Trying to disable a NPC.ref in script and getting CTD


stars2heaven

Recommended Posts

Here is what Im trying to do:

 

At the end of dialogue between the PC and the NPC I want to disable the NPC's ref imediately, or as soon as possible. I want to simulate the NPC going invis and escaping, without the PC actually being able to do anything about it if he/she has ways of finding invisible characters.

 

However, each time dalogue ends and the script disables the NPC, I get a CTD. At first I had it in a script that runs right at the end of the dialogue, then I moved that to a quest stage update, but nothing I do seems to fix the problem. Im not sure what to do about it.

 

Anyone have any advice on how I can do this or what might be going wrong?

Link to comment
Share on other sites

I love how posting my problems here usually means that I discover the solution to the problem soon after on my own. This thread can be deleted I guess. I dont know why the game was crashing, though I did find that moving the disable ref out of the dialogue/stage script and into the quest script fixed the issue.
Link to comment
Share on other sites

  • Recently Browsing   0 members

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