h38fh2mf Posted January 3, 2016 Posted January 3, 2016 View File Simple plugin that allows to overwrite actor detection from papyrus. Needed it for something, posting here in case anyone else finds it useful  Examples: ; Function AddUndetectable(Actor target, Actor detector) Global Native ActorDetectPlugin.AddUndetectable(target, None) ; <- target can't be detected by anyoneActorDetectPlugin.AddUndetectable(None, detector) ; <- detector can't detect anyoneActorDetectPlugin.AddUndetectable(target, detector) ; <- detector can't detect targetActorDetectPlugin.AddUndetectable(None, None) ; <- nobody can detect anything; Function RemoveUndetectable(Actor target, Actor detector) Global Native Read Scripts/Source/ActorDetectPlugin.psc for all the commands and how it works.  Detect means that the NPCs will completely ignore you even if you run into them. Sneaking is not necessary. If you hit someone while they can't detect you they will start to search but won't find anything even if they walk into you.  Could be useful alternative to disabling the AI completely.  If this is already possible with papyrus then I'm dumb and ignore this.  You have permission to include it with your mod if you use it. It's not likely I will update this unless some bug is found. Submitter h38fh2mf Submitted 01/03/2016 Category Modders Resources Requires Special Edition Compatible Â
Guest Posted January 3, 2016 Posted January 3, 2016 Nice. Â I think I will use it right away for a mod I am completing. To avoid attacks during some private events.
hafertaler Posted January 3, 2016 Posted January 3, 2016 It's possible with packages, but I'm not aware of any function. Sounds useful, thx for sharing.
h38fh2mf Posted January 3, 2016 Author Posted January 3, 2016 Yeah I thought about packages too before making this, but then you'd have to know who is going to detect you and it changes the behavior of NPC instead of letting them go on with their business, as far as I know. Â I added to original post that everyone has permission to include this with their mod. Don't want to add another dependency for such a small thing. Â Edit: ok so I had to update after all. When you were undetectable and tried to talk to a NPC and you were trespassing the NPC would get the trespasser package and they would follow you around even though they can't detect you. When they finally added bounty they started to search for you (for combat) so the solution was I made it so that if your player is undetectable by all then the trespassing is completely ignored, you can even wait in their house while technically trespassing.
Skyrimfloo Posted January 4, 2016 Posted January 4, 2016 This is nice. Some time ago I was working on a mod and this would have been useful at the time. I'm too busy for modding these days but I'll remember this if I resume my work.I've always been interested in the idea of making a couple plugins for the mods I'm working on, but never had the time to get into it. If it's not too bothersome, could I describe my ideas to you so you can tell me if it's worth the time learning? I know that some stuff isn't doable even through plugins, so I don't wanna waste time on this.
Uriel Posted January 5, 2016 Posted January 5, 2016 I might be dumb too, but think this should be built into teh Sexlab, imo. Even after all the SL dev, it's still possible you will be attacked during the "events".
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now