irswat Posted April 28, 2014 Share Posted April 28, 2014 I'm trying to use killactor but am getting the must be a persistent reference error when trying to compile.the script is a ref walking script that uses getfirstref, and getnextref, and stores the NPC into rCurrentNPC. is there a way I can procedurally 'name' the NPC so that I can call killactor on that ref? Link to comment Share on other sites More sharing options...
jazzisparis Posted April 28, 2014 Share Posted April 28, 2014 Reference IDs are what you get when ref walking. Make sure you use KillActor correctly. Please attach your script or relevant segments. Link to comment Share on other sites More sharing options...
irswat Posted April 29, 2014 Author Share Posted April 29, 2014 I was using KillActor wrong. I didnt realize I had to pass the killers ref as well and so I was getting the persistent ref warning, and it wouldn't compile. It is working now.Is there a command to make somebody explode? Killactor doesn't seem to do being stepped on by a giant mech justice. Link to comment Share on other sites More sharing options...
Recommended Posts