Jump to content

Catching Player Orgasm event


Recommended Posts

Posted

Looks like i forgot a lot of things about SexLab scripting so sorry if this is dumb question but i really need help with it.

 

Problem.

 

I need to catch every Player sex orgasm event in game ad do some stuff on it. But i need deffinitly and only Player orgasm. SexLab give possibility to hook this event like that

 

RegisterForModEvent( "OrgasmStart", "OnOrgasmStart" )

And then do something with hooked event

 

Event OnOrgasmStart( Int ThreadID, Bool HasPlayer )

 

     Now i need to ensure that this event was send from Player. How?

 

    Do my stuff here if so.

 

EndEvent

 

But how can i understand who fire up this event? Player, NPC, Creature.... I dont need to catch any other orgasm events exept Player. And if Separate orgasms option is set in SexLab how it affects this event?


Maybe im dumb but i just cant understand how to do this in best way without 10500 crosschecks. I will be appreceate for any code examples or detailed explanations.

Posted

Player is always tracked for sexlab events. You can use PlayerTrack hook for events associated with it.

 

So for an Orgasm you would need to RegisterforModEvent("PlayerTrack_Orgasm", "<event name>") when your quest starts.

Posted
13 minutes ago, wareware said:

Player is always tracked for sexlab events. You can use PlayerTrack hook for events associated with it.

 

So for an Orgasm you would need to RegisterforModEvent("PlayerTrack_Orgasm", "<event name>") when your quest starts.

Fantastic! Thank you!

  • 2 weeks later...
Posted (edited)

Another one problem. Sometimes Player orgasm event not fires up in the end of the scene. This is normal? 

And how to fix that?

 

 

Edited by TRX_Trixter
  • 2 months later...
Posted
On 2/5/2025 at 5:07 AM, TRX_Trixter said:

Another one problem. Sometimes Player orgasm event not fires up in the end of the scene. This is normal? 

And how to fix that?

 

Normal Sexlab has an option to make actors orgasm at the end of the scene, I think this might have some conditions where the victim does not orgasm. You can install SLSO to actually track orgasms properly so that actors can orgasm multiple times in a single scene.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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