Jump to content

[Question] How do i get ActorRefs for Actors in an Animation


Recommended Posts

Posted

Hey guys,

 

so I am currently working on a little mod which might or might not be pretty fun to play, but am currently struggling with a basic task:

 

I am already able to tell whether or not the player is engaged in a SexLab animation, but is there a way to get an array of Actors involved in said animation? I am actually already on the loverslab git, but am not able to find any function for this.

 

On top of that, getting the sslThreadController of the animation including the player would also be very helpful and seems rather hard to do (?).

 

Thanks in advance

Posted

Thanks a bunch Rebel, I skimmed though git and seemingly just overlooked that it might be hidden there.

 

Any info on getting the references on the other actors included in an animation? There is a GetActor method in sslThreadModel, which is used as the base for sslThreadController, but the documentation kind of implies it is not what I am looking for.

 

[Edit]

 

So seemingly the summary on the git wiki is very much not helpful but the pages are properly documented. Thanks for helping me out, now that i found the proper doc, everything is ooooookay ;)

Posted

Thanks a bunch Rebel, I skimmed though git and seemingly just overlooked that it might be hidden there.

 

Any info on getting the references on the other actors included in an animation? There is a GetActor method in sslThreadModel, which is used as the base for sslThreadController, but the documentation kind of implies it is not what I am looking for.

 

[Edit]

 

So seemingly the summary on the git wiki is very much not helpful but the pages are properly documented. Thanks for helping me out, now that i found the proper doc, everything is ooooookay ;)

 

Sorry, I may not have understood your question correctly. I'm not sure if, given a reference to an actor in an animation, there is an easy way to find the other actors in that animation without an exhaustive search testing each actor in the animating faction in turn. Perhaps there is, but the method I would normally use is a hook to the animation start event from which it is easy to collect the actor refs.

Posted

So at first i was pretty excited because of how simple Skyrim scripting is, but SexLab seems to be a giant mess. You scrim through the doc, you find wrong return values, wrong function names, functions that are not even included. You will stumble every half a second trying to get anything done. Changing an animation is a giant mess, even if you have a ref to the controller. And even with the controller, getting the ref to the included actors is a mess, even though the controller MUST HAVE A REF.

 

Im sitting here, thinking that writing my own graphics engine, with shaders and everything, writing a game engine, generating 3d models and animations and then finally hardcoding what I try to do might be faster than trying to understand what is happening here.

 

[Edit]

On a sidenote though, I cant just give up, thats not my style. So now I just always have all of the Script definitions open and search for what I am looking for inside of them. This method seems to work, even though it makes me feel like im in the year 1990 without using an IDE or proper documentation.

Archived

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

  • Recently Browsing   0 members

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