TRX_Trixter Posted January 23, 2025 Posted January 23, 2025 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.
wareware Posted January 23, 2025 Posted January 23, 2025 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. 1
TRX_Trixter Posted January 23, 2025 Author Posted January 23, 2025 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!
TRX_Trixter Posted February 4, 2025 Author Posted February 4, 2025 (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 February 4, 2025 by TRX_Trixter
wareware Posted April 6, 2025 Posted April 6, 2025 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. 1
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