• Hi Guest!

    We are extremely excited to announce the release of our first Beta for VaM2, the next generation of Virt-A-Mate which is currently in development.
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. Once subscribed, download instructions can be found here.

    Click here for information and guides regarding the VaM2 beta. Join our Discord server for more announcements and community discussion about VaM2.

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