DocClox Posted May 15, 2019 Posted May 15, 2019 Just curious if anyone knows the deal with PapyrusUtil. Going by a comment in MiscUtil.psc the bundled version would seem to be at least 3.3 ; LEGACY v3.3 - Added Ignoredead parameter to function, aliased for backwards compatability with v3.2. Actor[] function ScanCellActors(ObjectReference CenterOn, float radius = 5000.0, Keyword HasKeyword = none) global return ScanCellNPCs(CenterOn, radius, HasKeyword, true) endFunction On the other hand, the version on Nexus, while also 3.3 has a function that the SexLab version lacks ; Same as ScanCellNPCs(), however it filters the return by a given faction and (optionally) their rank in that faction. Actor[] function ScanCellNPCsByFaction(Faction FindFaction, ObjectReference CenterOn, float radius = 5000.0, int minRank = 0, int maxRank = 127, bool IgnoreDead = true) global native I have a use for that function, but I can foresee a lot of objections of the general form "SexLab already has the latest PapyrusUtil bundled".
Guest Posted May 15, 2019 Posted May 15, 2019 The version bundled with SexLab has these functions inside. There is a more recent version, but it is not included in SexLab for OldRim.
DocClox Posted May 15, 2019 Author Posted May 15, 2019 5 hours ago, CPU said: The version bundled with SexLab has these functions inside. When you say "these functions" you presumably don't mean ScanCellNPCsByFaction, which is the one I'm talking about? Because I just did a fresh download, just to be sure, and it ain't in MiscUtil 5 hours ago, CPU said: There is a more recent version, but it is not included in SexLab for OldRim. Is the more recent version the one on Nexus? Because that's the one that does. This is what I'm trying to clarify.
Guest Posted May 15, 2019 Posted May 15, 2019 The version on LoversLab 9not the one bundled in SexLab) is for sure the most recent one. I think the version on Nexus is the same, but I cannot confirm right now.
Srende Posted May 15, 2019 Posted May 15, 2019 The one in its own thread is more recent. Though the ScanCellNPCsByFaction has some issues with it I think, I can't remember what exactly, not returning anything maybe? I thought I had discussed it somewhere with ashal possibly but can't find that anywhere anymore I have this comment from 2017 in one of my source files: Actor[] function findFollowers(bool ignoreSpouse = true) {If player has multiple followers, find all of them in the current cell, optionally, include spouse (if follower) as well. DO NOT USE - BROKEN} Actor[] followers = MiscUtil.ScanCellNPCsByFaction(currentFollowerFaction, player, 0.0) ; FIXME: Not working until papyrusutil is updated ... endFunction So I just did another version that uses scanCellNPCs and manually checks the faction. I see the latest standalone version is from 2016 so I don't think that's been fixed yet.
DocClox Posted May 15, 2019 Author Posted May 15, 2019 This is going to sound odd, but I hadn't realised there was a separate thread on LL. I knew it was bundled and I saw the one on Nexus... Oh well. 40 minutes ago, Srende said: So I just did another version that uses scanCellNPCs and manually checks the faction Oh well, I guess I'll do that, then. Thanks.
ritalmao Posted May 17, 2019 Posted May 17, 2019 The most up to date is this one right? https://www.nexusmods.com/skyrimspecialedition/mods/13048 But this is for SE. For LE all i can find is this https://www.nexusmods.com/skyrim/mods/58705 Should the LE version from nexus overwrite the LL version or the opposite?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.