Jump to content

(Solved) Where can I find a basic example of using sslThreadModel Script to play animation?


Recommended Posts

Posted

Where can I find a very basic script example that uses the sslThreadModel script to play various animations?

 

http://git.loverslab.com/sexlab/framework/wikis/sslthreadmodel-script

 

The code is in this script, it's how to use sslthreadmodel at it's most basic level. I"m pretty sure the following is the minimum requirements.

 

 

sslThreadModel AnimationObject = SexLab.NewThread()

AnimationObject.AddActor(Game.GetPlayer(), isVictim = false)

AnimationObject.AddActor(akSpeaker, isVictim = false)

sslBaseAnimation[] anims

anims = new sslBaseAnimation[1]

anims[0] = SexLab.GetAnimationByName("Arrok Lesbian")

AnimationObject.DisableLeadIn(true)

AnimationObject.SetAnimations(anims)

AnimationObject.SetBedding(0)

AnimationObject.SetHook("TestingFoo")

RegisterForModEvent("AnimationStart_" + "TestingFoo", "TestingFoo")

AnimationObject.StartThread()

 

 

Archived

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

  • Recently Browsing   0 members

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