Jump to content

Help with Thread Hooks


kxdace

Recommended Posts

Posted

Hello,

I am trying to get this hook to work but it  is not triggering.

The logic seems sound but it just won't trigger.

Please help.

 

Scriptname wrScriptSpiderFeedStart5 extends ObjectReference 

 

                SexLabFramework property SexLab auto

 

                ReferenceAlias Property  Alias_Holder01 Auto

                ReferenceAlias Property  Alias_Holder02 Auto

                ReferenceAlias Property  Alias_Holder03 Auto

 

                Actor Property DSpider1 Auto

                Actor Property DSpider2 Auto

                Actor Property DSpider3 Auto

 

 

 

Event OnActivate (ObjectReference akActionRef)

 

                                debug.notification("Starting")

 

                                Actor act1 = Alias_Holder01.GetActorReference()           

 

                                sslBaseAnimation[] anims1

 

                                sslThreadModel Thread1 = SexLab.NewThread()

                                Thread1.addActor(act1)

                                Thread1.addActor(DSpider1)

 

                                Thread1.SetAnimations(anims1)

                                Thread1.SetHook("FeedEnd1")

                                Thread1.RegisterForModEvent("AnimationEnd", "FeedEnd1")

                                Thread1.StartThread()

 

EndEvent

 

 

event FeedEnd1()

 

                Debug.MessageBox("All done")

               

endEvent

Archived

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

  • Recently Browsing   0 members

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