CYNIC78 Posted November 22, 2020 Posted November 22, 2020 Hello. I have issue to trigger creature animation via dialogue. First of all I have set up my Sexlab and all mods just fine. Using debug spell on creature is launching animation as it should. But i have trouble to trigger one via dialogue with script fragment on dialogue end. This is how my script look like: Scriptname _CQ_WolfSex Extends TopicInfo Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE actor[] sexActors = new actor[2] sexActors[0] = SexLab.PlayerRef sexActors[1] = akSpeaker sslBaseAnimation[] anims = new sslBaseAnimation[1] anims[0] = SexLab.GetCreatureAnimationByName("(Wolf) Doggystyle") SexLab.StartSex(sexActors, anims) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment SexLabFramework Property SexLab Auto After dialogue closes nothing happens. I want to launch specific animation that's why i am trying to use GetCreatureAnimationByName but unsuccesfuly. Is it even possible to launch specific creature animation? And is it possible to trigger specific custom animation via SLAL, if i will create own animations? Maybe there is some scripting tutorials for SL Framework? It's really hard to find needed information for SL scripting. Any help appreciated!
Psalam Posted November 22, 2020 Posted November 22, 2020 18 minutes ago, CYNIC78 said: Hello. I have issue to trigger creature animation via dialogue. First of all I have set up my Sexlab and all mods just fine. Using debug spell on creature is launching animation as it should. But i have trouble to trigger one via dialogue with script fragment on dialogue end. This is how my script look like: Scriptname _CQ_WolfSex Extends TopicInfo Hidden ;BEGIN FRAGMENT Fragment_0 Function Fragment_0(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE actor[] sexActors = new actor[2] sexActors[0] = SexLab.PlayerRef sexActors[1] = akSpeaker sslBaseAnimation[] anims = new sslBaseAnimation[1] anims[0] = SexLab.GetCreatureAnimationByName("(Wolf) Doggystyle") SexLab.StartSex(sexActors, anims) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment SexLabFramework Property SexLab Auto After dialogue closes nothing happens. I want to launch specific animation that's why i am trying to use GetCreatureAnimationByName but unsuccesfuly. Is it even possible to launch specific creature animation? And is it possible to trigger specific custom animation via SLAL, if i will create own animations? Maybe there is some scripting tutorials for SL Framework? It's really hard to find needed information for SL scripting. Any help appreciated! Here is a link to where I learned to do it: I was also going to give you a link to where I asked when there would be updated documentation for SexLab but, sadly, I never got a reply (although I agree it needs to be done).
Recommended Posts
Archived
This topic is now archived and is closed to further replies.