Eryneth Posted October 22, 2020 Posted October 22, 2020 I know that there is a thread with this exact same issue but I cannot resolve this. I'm trying to compile ssxRunner.psc and am getting the error "GetGender is not a function or does not exist" I've made sure that every source file i can get is available in sources and I've checked specifically that the sexlabframework that defines the function is there and available. Can anyone help me with this, I've been butting my head against it for hours now.
Seijin8 Posted October 22, 2020 Posted October 22, 2020 Helps if you post the script. I'm guessing you are using GetGender() on an actor. It has to be used on ActorBase.
Eryneth Posted October 22, 2020 Author Posted October 22, 2020 Sorry, yes that would probably help. I figured out what the issue was, the GetGender was on CreatureFramework not Sexlab as i had originally thought, chasing my tail whilst the answer was right there. int Function calculateSex(Actor a) if !a return -1 endIf if genderMode==0 return a.getLeveledActorBase().getSex() endIf int s = SexLab.getGender(a) if s > 1 && CF return CF.GetGender(a) - 1 else return Math.LogicalAnd(s, 1) endIf EndFunction
Recommended Posts
Archived
This topic is now archived and is closed to further replies.