• Hello Guest!

    We have recently updated our Site Policies regarding the use of Non Commercial content within Paid Content posts. Please read the new policy here.

    An offical announcement about this new policy can be read on our Discord.

    ~The VaMHub Moderation Team
  • Hello Guest!

    We posted an announcment regarding upcoming changes to Paid Content submissions.

    Please see this thread for more information.

Question Looking for coding help with the "PossessSex" plugin

Messages
30
Reactions
5
Points
8
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