SAC Posted February 5, 2021 Posted February 5, 2021 I would like for my mod to avoid actors which are sexlab animating, or reserved for animation. I'm sure there is some faction or keyword or some other method of marking them, any quick pointers? More general, is there a sexlab wiki or documentation for modders? I wasn't able to identify it. Thx!
Scrab Posted February 5, 2021 Posted February 5, 2021 7 minutes ago, SAC said: documentation for modders SexLabFramework.psc Keyword: SexLabActive Function: IsActorActive(Actor myActor)
SAC Posted February 5, 2021 Author Posted February 5, 2021 5 minutes ago, Scrab said: SexLabFramework.psc Keyword: SexLabActive Function: IsActorActive(Actor myActor) Thank you very much indeed!
SAC Posted February 5, 2021 Author Posted February 5, 2021 52 minutes ago, Scrab said: Function: IsActorActive(Actor myActor) Any idea why this if IsActorActive(target) ; target is an actor debug.messagebox("Hanging actors while sexlab animating is blocked") Return endif Returns this? cannot call the member function IsActorActive alone or on a type, must call it on a variable
Mister X Posted February 5, 2021 Posted February 5, 2021 Because you have to get the script (SexLabFramework) where the function is located as property of your own script. SexLabFramework Property SexLab Auto If (SexLab.IsActorActive(target)) Debug.Messagebox("Actor active in SL scene") return EndIf Then fill the property within the CK with the SL quest and it should work
SAC Posted February 5, 2021 Author Posted February 5, 2021 28 minutes ago, Mister X said: Then fill the property within the CK with the SL quest and it should work Ok, I was trying import SexLabFramework at the start of the script, I did not realize it's a quest script. Indeed, your solution compiles, thank you
Recommended Posts
Archived
This topic is now archived and is closed to further replies.