CYNIC78 Posted August 9, 2021 Posted August 9, 2021 Can anyone tell me how to properly hook to orgasm event? I have made small quest with few lines of dialogue. On last line i have placed script launching SL animation. All is working good. Now I need to apply some effect (restore health and magica) on orgasm, but all my attempts failed. No matter how I tried. I am still newb at papyrus scripting and SLFramework especially. Would be great if someone will direct me. Here is what i've got so far. This is script on dialogue line launching SL animation. Scriptname _HealQuest Extends TopicInfo Hidden Function Fragment_1(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor akSpeaker.SetLookAt(PlayerRef) EndFunction Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor sslThreadController Thread = SexLabUtil.QuickStart(PlayerRef, akSpeaker, hook="Orgasm") if Thread == none ;Debug.MessageBox("Failed to start animation with Player and Wolf!") endIf EndFunction Actor property PlayerRef auto SexLabFramework Property SexLab Auto Then I've added extended script to quest itself trying to catch orgasm stage and apply some effects: Scriptname _HealEffect extends Quest Event OnInit() RegisterForModEvent("PlayerTrack_Orgasm", "OnPlayerOrgasm") EndEvent Event OnPlayerOrgasm() Debug.MessageBox("Your wounds were healed!") Game.GetPlayer().RestoreActorValue("Health",9001) Game.GetPlayer().RestoreActorValue("Magicka",9001) UnregisterForModEvent("OnPlayerOrgasm") EndEvent No wonder it's not working. During orgasm no healing occurs. So could someone explain me how to make actors heal during orgasm stage? Thanks in advance.
AndrewLRG Posted August 9, 2021 Posted August 9, 2021 OnPlayerOrgasm event should have two properties in it (form and int). For example, Event OnPlayerOrgasm(form Sender, int SomeInt) EndEvent Sender - actor who's having orgasm SomeInt - thread ID
Recommended Posts
Archived
This topic is now archived and is closed to further replies.