Jump to content

Traits TargetSim help


Recommended Posts

Posted

Not sure if this is the right place for this, but I've been trying to create some custom sex traits for Sims 4 using Mod constructor, and I had some preliminary successes however I have gotten really stuck on specifying the participants. 

So what I'm doing is basically there's a trait, that trait goes on a sim and when he has the trait, it checks for whether woohoo (or other sex interactions) occur... if they occur then it applies a bunch of buffs to the sim and the target sim, in this manner;

ActorBuff - adds custom buff to initiator sim 

TargetBuff - adds custom buff to interaction target

RemoveActorBuff - removes the games default buffs upon woohoo interaction

RemoveTargetBuff - same as above but for target

 

Actor seems to always be the Sim that is initiating an interaction, and that part works fine. My issue is that if I do TargetSim as the participant for my targetbuff, the game errors with last exception, saying; "ValueError: Trying to use SingleSimResolver with unsupported participant: ParticipantType.TargetSim"

What's weird about this is I can get all of this to work if I change the participant type of the target buffs to SignificantOtherActor instead - in which case the spouse of the Sim will gain the buffs. That works fine for a husband & wife, but I also want it to work for unmarried people, or for cheating couples. It wouldn't make sense if someones cheating on spouse and when they woohoo their spouse gets a buff across the world. 

 

Anyone got any idea how this works?

 

 

 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...