dkatryl Posted May 23 Posted May 23 (edited) Currently, my mod only uses APIs included in the OG SexLab, and as a result it works with SLP+ just fine. However, there is something I have noticed, which is that when I use the standard sslBaseAnimation to determine which animations to draw from, it seems to overlook valid ones. For instance, I had a test case where I had the following two setups: sslBaseAnimation[] anims = SexLab.GetAnimationsByTag(3,"", TagSuppress = "Forced") vs sslBaseAnimation[] anims = SexLab.GetAnimationsByTag(3,"Forced") The first one should use any threesome that doesn't have the Forced tag, and the second should require it. In my test pool of 6 threesome, half had the tag, so I would expect 3 in the first, and 3 in the second. Yet I was only getting 2 in the first and 2 in the second. Yet if I have *NO* check, other than #actors = 3: sslBaseAnimation[] anims = SexLab.GetAnimationsByTag(3,"") All 6 will be available to rotate through. This seemed to the case in other places as well, so I went to look on the forums, and I saw this for SLP+: Quote Overhauled API to simplify integration into SexLab: Animations are now started through StartScene() functions, which operate only on Actors & Tags, interaction with sslBaseAnimation is no longer required Isolated API into new exclusive API scripts, properly splitting internal and external code: SexLabRegistry.psc, main API script to access animation related information SexLabThread.psc, a new interface script to interact with running SexLab threads SexLabThreadHook.psc, a blocking Hook interface to hook (synchronous) into SexLab threads SexLabStatistics.psc, an interface script to access actor statistics Improved Animation Selection: SLP+ is more strict with actor placement, you will no longer get animations with male actors in female positions, or a femdom animation with a dominant male [TL;DR] Sounds promising, except I don't want to break support for OG SexLab, so my question is there a way to check in the script if SLP+ is installed to use *that* method for setting up a scene, and if it isn't, retain the OG sslBaseAnimation method that currently exists? Edited May 23 by dkatryl
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