Jump to content

Sexlab trigger strapon for specific race, how?


Seth

Recommended Posts

So, I wanted to have males use strapons also and I found that if I make the following change to sslthreadcontroller:

 

if SexLab.GetGender(position) <= 1 && Animation.GetGender(slot) == 0 && SexLab.Config.bUseStrapons && Animation.UseStrapon(slot, stage)
SexLab.EquipStrapon(position)
endIf
 
That does the trick, however, now I want only the Nord race to use it, is there a way to add this? I'm really new to modding so if someone could help me with this that would be great!
Link to comment

This is the complete function by the way:

 

function EquipExtras(actor position)
int slot = GetPosition(position)
form[] extras = Animation.GetExtras(slot)
if extras.Length > 0
int i = 0
while i < extras.Length
if extras != none
position.EquipItem(extras, true, true)
endIf
i += 1
endWhile
endIf
; Strapons are enabled for this position, and they are female in a male position
if SexLab.GetGender(position) <= 1 && Animation.GetGender(slot) == 0 && SexLab.Config.bUseStrapons && Animation.UseStrapon(slot, stage)
SexLab.EquipStrapon(position)
endIf
endFunction
 
Link to comment

Ugly untested hack:

string raceName = position.GetLeveledActorBase().GetRace().GetName()
if (SexLab.GetGender(position) == 1 && Animation.GetGender(slot) == 0 && SexLab.Config.bUseStrapons && Animation.UseStrapon(slot, stage)) || (StringUtil.Find(raceName, "Nord") != -1)
Link to comment

Archived

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

  • Recently Browsing   0 members

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

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use