Jump to content

Need help creating small script!


Recommended Posts

Posted

So i am making a update for my mod but i need some help. For my mod to work i need to find out which body parts the player is using in the current animation(oral vagina/penis anal).

 

This is how i try to do it now:

"'''''''''''''''''''

RegisterForModEvent("PlayerAnimationStart", "AnimationStart")

....

....

 

event AnimationStart(string eventName, string argString, float argNum, form sender)
        sslBaseAnimation animation = SexLab.HookAnimation(argString)
 
        if(SexLab.GetGender(PlayerREF) == 0)
                  If (animation.HasTag("Anal") || animation.HasTag("Vaginal") || animation.HasTag("Masturbation") || animation.HasTag("Blowjob"))
                  ..........
                  ..........
                  endIf
        endIf
 
"'''''''''''''''''''
the biggest problem i have is to find out something like this:
 
animation "Akkor lesbian"
who is the giving and who is the receiving person?
 
Posted

You can have the positions in this way:

 

Actor[] Positions = SexLab.HookActors(argString)

 

Usually the position 0 is the passive one (receiver), the others are active. But it is just a rule of thumb. Some animations do not respect this logic.

 

 

Archived

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

  • Recently Browsing   0 members

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