Zzzzzsleepy Posted December 6, 2025 Posted December 6, 2025 Specifically how to link dialogue scenes to start Sexlab Animations. I'm trying to create a that i thought would be extremely simple where a dialogue line with an NPC would lead to sex with or without tags or even scenes with multiple NPC but unfortunately I've been trying for like 3 hours and have nothing but frustration to show for it. Is there any guide on how to set up the scripting part of mods to get this working?
wareware Posted December 6, 2025 Posted December 6, 2025 Whats the issue that is stopping you? The code itself or getting it to compile?
Zzzzzsleepy Posted December 6, 2025 Author Posted December 6, 2025 Both to be honest. I couldn't find something i could just paste into the compiler to start a scene after the dialogue runs, so I've been resorting to trying reverse engineer working mods or vibe coding it which has got me no results and compiler issues. I've done a lot of dialogue edits before but am a little out of my depth working with the scripting. Trying to learn though.
MadMansGun Posted December 6, 2025 Posted December 6, 2025 (edited) 4 hours ago, Zzzzzsleepy said: Specifically how to link dialogue scenes to start Sexlab Animations. https://www.loverslab.com/files/file/36844-werewolf-prostitution/ the quest script "aaaWereProstitution_System.psc" holds the sexlab commands to be used. the dialogue script ( Eg: aaaWereProstitution_Anal.psc ) tells the quest what command to run the mod also has a dialogue casted spell (orgys) to run more complicated commands, but instead of using the mod's quest script it calls to sexlab more directly. Edited December 6, 2025 by MadMansGun
wareware Posted December 6, 2025 Posted December 6, 2025 You can look at Sexlab Eager NPCs scripts for an example of how to start sexlab scenes through dialogue. For actual documentation you want to familiarize yourself with SexlabFramework.psc in the sexlab script sources. Start with the "QuickStart" function. You need to add SexLabFramework as a property in your script and then assign it a value to use it SexLabFramework Property Sexlab Auto OR (if you don't want to bake property in the script) SexlabFramework Sexlab = SexlabUtil.GetAPI() Then access any function you want using Sexlab.Functioname(parameters)
a_random_user Posted December 6, 2025 Posted December 6, 2025 (edited) wareware already mentioned how to get the sexlabframework loaded into your script (if you use the property method, don't forget to actually set it in the property window) But if you just want to start a quick scene between the player and whoever you are talking to, you can use the code: Sexlab.Quickstart(akSpeaker, Game.GetPlayer()) And a scene should start, you can try adding tags as well with the AnimationTags argument, but that is optional. With Quickstart, the first actor in the list is the "passive" position, so you might wish to switch the order of actors depending on what you want. And a bit of general advise, when you create a dialogue script fragment, the Creation Kit generated an automatically named file, generally TIF__ and the reference ID of the dialogue. It's good practice to always rename it immediately. Edited December 6, 2025 by a_random_user
Zzzzzsleepy Posted December 7, 2025 Author Posted December 7, 2025 I appreciate everyone helping me out with this! I feel like I'm getting a much clearer understanding of it now, but unfortunately am struggling with the compiler. I get compiler issues whenever I try to define sexlab either in the script fragment or as a property as a script in the main script page. I've got issues by doing either: Using this in the fragment SexlabFramework Sexlab = SexlabUtil.GetAPI() Manually using this on the main script on the quest script page SexLabFramework Property Sexlab Auto - Unlike some other scripts I've tried to reverse engineer, i don't see sexlab as an option in the property type drop down menu so i had to try doing it by using the edit source option Both ways lead to the same output, I've copied error log here if it can help someone help me. Spoiler Starting 1 compile threads for 1 files... Compiling "_Test003"... C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslBaseExpression.psc(94,3): variable MfgConsoleFunc is undefined C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslBaseExpression.psc(94,18): none is not a known user-defined type C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslBaseExpression.psc(110,3): variable MfgConsoleFunc is undefined C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslBaseExpression.psc(110,18): none is not a known user-defined type C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslBaseExpression.psc(138,4): variable MfgConsoleFunc is undefined C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslBaseExpression.psc(138,19): none is not a known user-defined type C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslBaseExpression.psc(149,2): variable MfgConsoleFunc is undefined C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslBaseExpression.psc(149,17): none is not a known user-defined type C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslBaseExpression.psc(187,2): variable MfgConsoleFunc is undefined C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslBaseExpression.psc(187,17): none is not a known user-defined type C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslBaseExpression.psc(241,5): variable MfgConsoleFunc is undefined C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslBaseExpression.psc(241,20): none is not a known user-defined type C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslBaseExpression.psc(253,3): variable MfgConsoleFunc is undefined C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslBaseExpression.psc(253,18): none is not a known user-defined type C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslBaseExpression.psc(263,4): variable MfgConsoleFunc is undefined C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslBaseExpression.psc(263,19): none is not a known user-defined type C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslBaseVoice.psc(86,2): variable MfgConsoleFunc is undefined C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslBaseVoice.psc(86,17): none is not a known user-defined type C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslBaseVoice.psc(97,2): variable MfgConsoleFunc is undefined C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslBaseVoice.psc(97,17): none is not a known user-defined type C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslBaseVoice.psc(111,2): variable MfgConsoleFunc is undefined C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslBaseVoice.psc(111,17): none is not a known user-defined type C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslBaseVoice.psc(194,2): variable MfgConsoleFunc is undefined C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslBaseVoice.psc(194,17): none is not a known user-defined type C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslBaseVoice.psc(198,3): variable MfgConsoleFunc is undefined C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslBaseVoice.psc(198,18): none is not a known user-defined type C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslBaseVoice.psc(201,2): variable MfgConsoleFunc is undefined C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslBaseVoice.psc(201,17): none is not a known user-defined type C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslBaseVoice.psc(222,2): variable MfgConsoleFunc is undefined C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslBaseVoice.psc(222,17): none is not a known user-defined type C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslBaseVoice.psc(226,3): variable MfgConsoleFunc is undefined C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslBaseVoice.psc(226,18): none is not a known user-defined type C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslBaseVoice.psc(229,2): variable MfgConsoleFunc is undefined C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslBaseVoice.psc(229,17): none is not a known user-defined type C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslActorAlias.psc(401,31): variable NiOverride is undefined C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslActorAlias.psc(401,42): none is not a known user-defined type C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslActorAlias.psc(402,19): variable NiOverride is undefined C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslActorAlias.psc(402,30): none is not a known user-defined type C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslActorAlias.psc(407,5): variable NiOverride is undefined C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslActorAlias.psc(407,16): none is not a known user-defined type C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslActorAlias.psc(408,5): variable NiOverride is undefined C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslActorAlias.psc(408,16): none is not a known user-defined type C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslActorAlias.psc(841,31): variable NiOverride is undefined C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslActorAlias.psc(841,42): none is not a known user-defined type C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslActorAlias.psc(842,5): variable NiOverride is undefined C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslActorAlias.psc(842,16): none is not a known user-defined type C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslThreadController.psc(485,16): SendDefaultAnimEvent is not a function or does not exist C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslSystemConfig.psc(324,8): variable FNIS is undefined C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslSystemConfig.psc(324,13): none is not a known user-defined type C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslSystemConfig.psc(324,28): cannot compare a none to a int (cast missing or types unrelated) C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslSystemConfig.psc(324,28): cannot relatively compare variables to None C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslSystemConfig.psc(833,49): variable NiOverride is undefined C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslSystemConfig.psc(833,60): none is not a known user-defined type C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslSystemConfig.psc(833,79): cannot compare a none to a int (cast missing or types unrelated) C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslSystemConfig.psc(833,79): cannot relatively compare variables to None C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslSystemConfig.psc(836,9): variable FNIS is undefined C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslSystemConfig.psc(836,14): none is not a known user-defined type C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslSystemConfig.psc(836,38): cannot compare a none to a int (cast missing or types unrelated) C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslSystemConfig.psc(836,38): cannot relatively compare variables to None C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslSystemConfig.psc(839,9): variable FNIS is undefined C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslSystemConfig.psc(839,14): none is not a known user-defined type C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslSystemConfig.psc(842,9): variable FNIS is undefined C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslSystemConfig.psc(842,14): none is not a known user-defined type C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslSystemConfig.psc(842,44): cannot compare a none to a int (cast missing or types unrelated) C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslSystemConfig.psc(842,44): cannot relatively compare variables to None C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslSystemConfig.psc(927,13): variable MfgConsoleFunc is undefined C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\sslSystemConfig.psc(927,28): none is not a known user-defined type C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\SexLabFramework.psc(1715,37): ForceOpenMouth is not a property on script sslactoralias or one of its parents C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\SexLabFramework.psc(1715,14): type mismatch while assigning to a none (cast missing or types unrelated) C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\SexLabFramework.psc(1735,37): ForceOpenMouth is not a property on script sslactoralias or one of its parents C:\Steam\steamapps\common\Skyrim Special Edition\Data\Scripts\Source\SexLabFramework.psc(1735,14): type mismatch while assigning to a none (cast missing or types unrelated) No output generated for _Test003, compilation failed. Batch compile of 1 files finished. 0 succeeded, 1 failed.
MadMansGun Posted December 7, 2025 Posted December 7, 2025 i think you are missing the source files for MfgConsoleFunc and maybe RaceMenu 1
a_random_user Posted December 8, 2025 Posted December 8, 2025 And maybe the source files for FNIS as well. You need those even if you don't use FNIS.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now