• Hi Guest!

    We have posted a new VaM2 dev log on Patreon, starting a monthly cadence of written progress updates between Beta releases. Highlights include the new Gizmos System, Selection Carousel, and Modes System with Context-Specific Editing. Beta1.2 is 15 of 21 items complete.

    Read the full post on Patreon, or follow progress on the public Trello roadmap.

Question Looking for coding help with the "PossessSex" plugin

Joined
Jan 30, 2021
Messages
30
Reactions
5
Hello, so the PossessSex plugin was originally included in EasyMate and I've kept it around because well, it's great and I don't know of an alternative. If there is one please let me know, because this question won't matter. I noticed penis posession didn't work sometimes, seemingly randomly. I opened up the script and with my limited coding knowledge found a line that looks for the word "male" for things to possess (so something named futa won't work). Line 733 if you have the plugin, not sure if I can reupload, afaik it's only in the giant easymate download. Appreciate any help!

Code:
foreach (string atomUID in SuperController.singleton.GetAtomUIDs())
{
    Atom atom = SuperController.singleton.GetAtomByUid(atomUID);
    if (atom.type == "Person" && atomUID != containingAtom.name && atom.GetComponentInChildren<DAZCharacter>().name.StartsWith("male")) { atomChoices.Add(atomUID); }
}
if (atomChoices.Count == 0) { atomChoices.Add("None"); }
 
There are two instances of
Code:
 && atom.GetComponentInChildren<DAZCharacter>().name.StartsWith("male")
in the script, deleting both has seemed to make it work.
Still curious if there is another plugin out there for easy penis/hip posession
 
Upvote 0
Back
Top Bottom