Skipper2100 Posted November 18, 2016 Share Posted November 18, 2016 (edited) So I have a script that hits a point where it's supposed to disintegrate a bloke for reasons. It basically goes like this:If IsKillAllowed Disintegrate.Cast(Target)Else Other stuff I've made a "Disintegrate" spell, which is a duplicate of the spell used for the Disintegration perk, except Self targeted. Now upon testing it, reaching that point in the script, nothing happens. The spell works fine when I cast it myself, and I have other spells triggered at different points in the script that go off, but this one in particular never fires. I also made a test spell which does nothing except that function, and all that would happen upon casting it is the target actor would go down as if essential for a couple seconds, and then get back up as if nothing had happened. EDIT: Managed to pull up a save from a while back and try the same thing, and it worked as intended. I would assume this means something has corrupted my current save and made everyone immortal for some reason, even though the actors aren't marked as essential and can be killed through the normal stab-related means, and through Drain Life spells... MORE EDITS: Okay, so it turns out that the script is what's making everyone immortal. Running the script once, and the disintegration works. After that, everyone becomes unkillable. However, using the testing spell, running the same function, doesn't cause the break, and having the script run a simple Target.Kill() instead doesn't either... IGNORE EVERYTHING MORE EDITS: NOW it turns out that some people are just immune to disintegration. I made a custom script that removed all of the immunity lists and whatnot... and still no luck. A random assortment of NPCs, essential or not, somehow are just 'reset', i.e. their health goes back to full, and their AI glitches out for a small bit. Does anyone know why this is, and how to fix it? Edited November 18, 2016 by Skipper2100 Link to comment Share on other sites More sharing options...
NexusComa Posted November 18, 2016 Share Posted November 18, 2016 Some NPC's are not meant to die Link to comment Share on other sites More sharing options...
Skipper2100 Posted November 18, 2016 Author Share Posted November 18, 2016 How informative. You wouldn't happen to know how to bypass their supernatural destiny to not die from this one spell in particular, then, would you? Link to comment Share on other sites More sharing options...
Skipper2100 Posted November 19, 2016 Author Share Posted November 19, 2016 Well, the spell itself works fine so I guess it's case closed here. Now I simply need to figure out why certain actors are unkillable. Link to comment Share on other sites More sharing options...
Recommended Posts