Jump to content

Checking if Actor is currently in a Sexlab Animation


Recommended Posts

Posted

Hi there,

I'm trying to write my own little mod and I just wanted to ask if there's a way to find out if an actor is currently already in a Sexlab animation?

 

I'm pretty sure this has already been answered, but I didn't find anything searching the forum.

Posted

I'm not sure. But I do know that you can go into SL's MCM menu and end all animations from there. Also using the "rebuild and clean" option ends all animations and resets everything to default. Occasionally that's necessary if anything gets sort of "hung up". I have gone entire playthroughs without needing to clean it before, but that's only because I didn't run many other mods with scripts plus tried to keep as few mods as possible while getting the game experience I wanted.

Posted

I'm actually looking for a command in papyrus to make that check, like a bool function to get a true or false if someone is currently in an animation. 

But I didn't find anything in the git wiki, so if there's no such command there might be a workaround to get this information with other commands.

 

It's not anything gamebreaking, sl with find a way around it, I assume it simply doesn't start a new animation, but it would be nice to be able to implement the check.

Posted

Ok I think I found an answer myself. I searched through the SL Aroused scripts since it has to have some kind of check for this and found this:

Actor.IsInFaction(SexLab.AnimatingFaction)

 

I don't know much about SL and of course I didn't know it actually adds the actors to a faction while the animation plays. 

Anyway that pretty much solves my "problem".

But if there are other ways, I would like to hear them, just out of curiosity.

Archived

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

  • Recently Browsing   0 members

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