randomuser777 Posted December 1, 2017 Share Posted December 1, 2017 I need some assistance in creating an arousal based equip script for LabiaVariants. This script would equip a different mesh at a certain arousal threshold, once the player or NPC exceeds it. Where do I start? I'm new to making scripts in Skyrim... Link to comment
CPU Posted December 1, 2017 Share Posted December 1, 2017 If you never did scripting, give a look at my papyrus guide. Then check the mod event sent by Arousal, when you get it in a script you will create, check the levels and apply the meshes you want to apply. Link to comment
randomuser777 Posted December 3, 2017 Author Share Posted December 3, 2017 How would I go about checking for the mod event? Link to comment
CPU Posted December 4, 2017 Share Posted December 4, 2017 Actually, SLA does not send ModEvents on arousal changes, so no way to use them. Sorry. Link to comment
randomuser777 Posted December 5, 2017 Author Share Posted December 5, 2017 Couldn't I use something like this line I've seen in some posts? I could use this to get the arousal value I'm looking for. slaframeworkscr Property SLA Auto Event OnEffectStart(Actor akTarget, Actor akCaster) SLA.GetActorExposure(akTarget) If (akTarget) ActorExposure = 75 "equip the open labia mesh somehow" endIf endEvent A basic idea of what I had in mind, but I'm not sure where to find the correct parts for this, so it probably makes little sense. Would I need OnEffectFinish for a situation like this? Link to comment
CPU Posted December 5, 2017 Share Posted December 5, 2017 This snippet of code looks like a script associated with a magic effect. Now, when you want to check about arousal level? Depending on "when" the way to check and do the result will be slightly different. Link to comment
stalfos81 Posted December 5, 2017 Share Posted December 5, 2017 Maybe ask Baddog about the mesh swap he's done with his hoodie schlongs mod. Link to comment
spoonsinger Posted December 6, 2017 Share Posted December 6, 2017 Or look at the code in Blush When Aroused, (https://www.loverslab.com/files/file/1724-blush-when-aroused/), mixed with code from Pubic Hair Growth for Females, (https://www.loverslab.com/topic/65585-sos-growing-pubic-hair-for-females/ ), for pointers. Link to comment
randomuser777 Posted January 8, 2018 Author Share Posted January 8, 2018 On 05/12/2017 at 4:17 PM, CPU said: This snippet of code looks like a script associated with a magic effect. Now, when you want to check about arousal level? Depending on "when" the way to check and do the result will be slightly different. I have been considering another way of doing this, by using SexLab events as a trigger for the mesh to equip. So if an anal animation plays, it wouldn't equip unlike vaginal. I've seen that I would need to register for mod events. Would this approach be more complicated? Link to comment
CPU Posted January 8, 2018 Share Posted January 8, 2018 ModEvents are really easy. RegisterForModEvent("SexLab_AnimationStarting", "myHandler") .. Event myHandler(int threadId, bool hasPlayer) ... EndEvent Be aware that I am not at the PC, so the code is just an idea. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.