Jump to content

Scripting Question


Vexxingz

Recommended Posts

Okay, so I'm working on A script for my mod (it's my first :D), and i'm trying to resurrect an NPC who you had to kill in one part, but he didn't actually die.. and you meet him later on.

 

I try and use VTRSleyyt.Resurrect 1, but the compiler thing gives me an error about an invalid reference.

 

I just can't figure out what i'm doing wrong. I have the name and everything correct. Although I am resurrecting him when the player isn't in the cell, if that causes any problems.

 

Any ideas as to what i'm doing wrong?

 

-----------------------

 

Nevermind! I fixed it by instead putting the script on the actual character.

Link to comment
Share on other sites

Are you sure you're using a persistent ref of that npc. So not the Basic-Id, but the given ref when you place them in the game-world?

http://img13.imageshack.us/img13/7101/prote.png

Link to comment
Share on other sites

  • Recently Browsing   0 members

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