Someone92 Posted July 12, 2017 Posted July 12, 2017 I'm using this function to start a sex scene: QuickStart(ActorA, ActorB, victim = ActorB, animationTags = "cowgirl, Aggressive") I was expecting to start a scene with an animation with both the tags cowgirl AND aggressive, but sometimes I get animations that have the cowgirl tag, but not the aggressive tag and vice versa. Is that intended, or could a heavly modded Skyrim with a lot of script load cause this?
Guest Posted July 12, 2017 Posted July 12, 2017 QuickStart does not allow to set if the tags should be in AND or OR mode. You can try to use StartSex like that: Actor[] acts = new Actor[2] acts[0] = ActorA acts[1] = ActorB sslBaseAnimation[] anims = SexLab.getAnimationByTags(2, "cowgirl,Aggressive", RequireAll=True) SexLab.StartSex(acts, anims, Victim=ActorB)
Someone92 Posted July 12, 2017 Author Posted July 12, 2017 QuickStart does not allow to set if the tags should be in AND or OR mode.So, if I understood your answer correctly QuickStart uses the OR logic?!
Someone92 Posted July 12, 2017 Author Posted July 12, 2017 Is there a trick to get SexLab.getAnimationByTags SexLab.getByTagsto work?I always get the error message that said functions are not a function or does not exist. Strangly, functions like these do work: SexLab.SortActors I'm currently editing one of http://www.loverslab.com/files/file/4095-tdf-sexlab-aroused-rape-and-aroused-sexy-idles-v32/ scripts for personal use Scriptname BB_ArousedRapeQuestScript extends Quest SexLabFramework Property SexLab Auto ReferenceAlias Property Alias1 Auto ReferenceAlias Property Alias2 Auto Function StartSex(Actor myVictim, Actor myAggressor) Actor ActorAlias1 = Alias1.GetRef() as Actor Actor ActorAlias2 = Alias2.GetRef() as Actor if (ActorAlias1) && (ActorAlias2) && (SexLabUtil.GetGender(myVictim) == 1) && ((myAggressor == ActorAlias1) || (myAggressor == ActorAlias2)) && ((myVictim != ActorAlias1) && (myVictim != ActorAlias2)) Actor[] FirstSortActors = new Actor[2] FirstSortActors[0] = ActorAlias1 FirstSortActors[1] = ActorAlias2 FirstSortActors = SexLab.SortActors(FirstSortActors) Actor[] SecondSortActors = new Actor[3] SecondSortActors[0] = myVictim SecondSortActors[1] = FirstSortActors[0] SecondSortActors[2] = FirstSortActors[1] sslBaseAnimation[] myThreesomeAnims = SexLab.PickAnimationsByActors(SecondSortActors, Aggressive = true) SexLab.StartSex(SecondSortActors, myThreesomeAnims, Victim = myVictim, AllowBed = false) else StartSexBasic(myVictim, myAggressor) endif endFunction Function StartSexBasic(Actor myVictim, Actor myAggressor) int myAggressorGender = SexLabUtil.GetGender(myAggressor) int myVictimGender = SexLabUtil.GetGender(myVictim) int i = Utility.RandomInt(0,1) int j = Utility.RandomInt(0,1) Actor[] acts = new Actor[2] sslBaseAnimation[] anims if (myAggressorGender == 1) && (myVictimGender == 1) ; both female acts[0] = myVictim acts[1] = myAggressor if i == 1 if j == 1 anims = SexLab.getAnimationByTags(2, "Aggressive,FF", RequireAll=True) else anims = SexLab.getAnimationByTags(2, "Aggressive,Vaginal,MF", RequireAll=True) endif else if j == 1 anims = SexLab.getAnimationByTags(2, "Cunnilingus", RequireAll=True) else anims = SexLab.getAnimationByTags(2, "Cowgirl,MF", RequireAll=True) endif endif elseif (myAggressorGender == 1) && (myVictimGender == 0) ; aggressor female, victim male if i == 1 anims = SexLab.getAnimationByTags(2, "Cowgirl,Aggressive", RequireAll=True) else anims = SexLab.getAnimationByTags(2, "Femdom", RequireAll=True) endif elseif (myAggressorGender == 0) && (myVictimGender == 1) ; aggressor male, victim female if i == 1 anims = SexLab.getAnimationByTags(2, "Aggressive,MF", "Cowgirl,Femdom", RequireAll=True) else anims = SexLab.getAnimationByTags(2, "Aggressive,Blowjob", "Cowgirl,Femdom", RequireAll=True) endif elseif (myAggressorGender == 0) && (myVictimGender == 0) ; both male if i == 1 anims = SexLab.getAnimationByTags(2, "Aggressive, Anal", RequireAll=True) else anims = SexLab.getAnimationByTags(2, "Aggressive, Blowjob", RequireAll=True) endif endif SexLab.StartSex(acts, anims, Victim=myVictim) endFunction
Recommended Posts
Archived
This topic is now archived and is closed to further replies.