dooders Posted March 5, 2021 Posted March 5, 2021 So ive got a mod that initiates sex with dialog. I can get sex to start with just the PC and NPC no problem. I dont know what script is needed to get the creature sex to work. I also dont know how to add more than the PC and 1 NPC in a scene. Ex: player tells the NPC and her pet Troll that they must have sex in order to get out of their current situation. The quest is set up I just cant figure out the script that initiate the sex between the NPC and the Creature. EX 2: The player wants to initiate sex between himself and 3 NPC's. Any help would be greatly appreciated.
MadMansGun Posted March 5, 2021 Posted March 5, 2021 based on SL Dragons sex scripts: ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE actor[] activeActors = new actor[4] activeActors[0] = playerRef activeActors[1] = actorRefa activeActors[2] = actorRefb activeActors[3] = actorRefc System.StartSceneTagNPC(activeActors," (animation tags you want here) "," (animation tags you don't want here) ") ;END CODE EndFunction ;END FRAGMENT (system script name here) property System Auto Actor Property playerRef Auto Actor Property actorRefa Auto Actor Property actorRefb Auto Actor Property actorRefc Auto and the "system" script used needs to be setup for creatures, eg: Scriptname (system script name here) extends Quest SexLabFramework property SexLab Auto Actor Property PlayerRef Auto Function StartSceneTagNPC(Actor[] actorArray, String TagsYes, String TagsNo = "", bool requireAll = true) Actor partner = actorArray [0] Race partnerRace = partner.GetLeveledActorBase().GetRace() sslBaseAnimation[] animList = SexLab.GetCreatureAnimationsByRaceTags(actorArray.Length, partnerRace, TagsYes, TagsNo, requireAll) SexLab.StartSex(actorArray, animList) endFunction
dooders Posted March 6, 2021 Author Posted March 6, 2021 20 hours ago, MadMansGun said: based on SL Dragons sex scripts: ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE actor[] activeActors = new actor[4] activeActors[0] = playerRef activeActors[1] = actorRefa activeActors[2] = actorRefb activeActors[3] = actorRefc System.StartSceneTagNPC(activeActors," (animation tags you want here) "," (animation tags you don't want here) ") ;END CODE EndFunction ;END FRAGMENT (system script name here) property System Auto Actor Property playerRef Auto Actor Property actorRefa Auto Actor Property actorRefb Auto Actor Property actorRefc Auto and the "system" script used needs to be setup for creatures, eg: Scriptname (system script name here) extends Quest SexLabFramework property SexLab Auto Actor Property PlayerRef Auto Function StartSceneTagNPC(Actor[] actorArray, String TagsYes, String TagsNo = "", bool requireAll = true) Actor partner = actorArray [0] Race partnerRace = partner.GetLeveledActorBase().GetRace() sslBaseAnimation[] animList = SexLab.GetCreatureAnimationsByRaceTags(actorArray.Length, partnerRace, TagsYes, TagsNo, requireAll) SexLab.StartSex(actorArray, animList) endFunction Awesome! thank you MadMansGun!!
dooders Posted March 23, 2021 Author Posted March 23, 2021 On 3/5/2021 at 12:32 AM, MadMansGun said: based on SL Dragons sex scripts: ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE actor[] activeActors = new actor[4] activeActors[0] = playerRef activeActors[1] = actorRefa activeActors[2] = actorRefb activeActors[3] = actorRefc System.StartSceneTagNPC(activeActors," (animation tags you want here) "," (animation tags you don't want here) ") ;END CODE EndFunction ;END FRAGMENT (system script name here) property System Auto Actor Property playerRef Auto Actor Property actorRefa Auto Actor Property actorRefb Auto Actor Property actorRefc Auto and the "system" script used needs to be setup for creatures, eg: Scriptname (system script name here) extends Quest SexLabFramework property SexLab Auto Actor Property PlayerRef Auto Function StartSceneTagNPC(Actor[] actorArray, String TagsYes, String TagsNo = "", bool requireAll = true) Actor partner = actorArray [0] Race partnerRace = partner.GetLeveledActorBase().GetRace() sslBaseAnimation[] animList = SexLab.GetCreatureAnimationsByRaceTags(actorArray.Length, partnerRace, TagsYes, TagsNo, requireAll) SexLab.StartSex(actorArray, animList) endFunction Im still having issues getting the creature sex to start. The NPC and Creature just stand there while the Players masturbation script plays. I basically copied and pasted what you said and it compiles just fine. Just no sex starts. What am I missing?
dooders Posted March 23, 2021 Author Posted March 23, 2021 So I think the issue is that I dont quite understand how the system script works. So far I have just been using fragments to get everything to work. I think the example you gave was of a system script that the other scripts use? That is something I dont understand at all. I am a complete beginner when it comes to scripting.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.