grumpos Posted October 6, 2018 Posted October 6, 2018 The actor should not dress after sex. How to do it in SexLab-script? If possible, sample code, please.
Guest Posted October 6, 2018 Posted October 6, 2018 There is a MCM setting for that, I think its in the second tab of the SexLab mcm (something like "no re-dress after sex"). It should work for the default sex encounters, but you may find another mod preventing re-dress or forcing a re-dress event.
grumpos Posted October 6, 2018 Author Posted October 6, 2018 I need to do this in a script, without changing the MCM-setting.
WraithSlayer Posted October 8, 2018 Posted October 8, 2018 There's a function on sslThreadModel that allows you to disable re-dress for just that scene. It's trivial if you're already building the scene with a thread model, but will be a bit more work if you're just using the simplified StartSex() function for now. Here's a simple example of a thread model made from scratch: sslThreadModel Model = SexLab.NewThread() Model.AddActor(akPlayerRef) Model.AddActor(akPartner) Model.DisableRedress(akPlayerRef, disabling = true) Model.DisableRedress(akPartner, disabling = true) Model.SetAnimations(SexLab.GetAnimationsByType(2)) Model.StartThread() SexLab is a property reference to the SexLabFramework script, if that wasn't clear. There's a whole lot of functions you can call on the thread model to customize your scene in different ways, check the sslThreadModel script for info.
grumpos Posted October 8, 2018 Author Posted October 8, 2018 WraithSlayer, thanks for example. I tried that, but the actor still dresses after the animation.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.