Jump to content

Help with Aroused scripting


randomuser777

Recommended Posts

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

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

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
  • 1 month later...
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

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

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use