Vexxingz Posted January 18, 2010 Share Posted January 18, 2010 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 More sharing options...
Pronam Posted January 18, 2010 Share Posted January 18, 2010 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 More sharing options...
Vexxingz Posted January 19, 2010 Author Share Posted January 19, 2010 Ah, no... Stupid me. :P Thanks. Link to comment Share on other sites More sharing options...
jefe323 Posted January 20, 2010 Share Posted January 20, 2010 instead of scripting you could use multiple copies of the same npc Link to comment Share on other sites More sharing options...
Recommended Posts