BurnyD Posted March 28, 2015 Posted March 28, 2015 Making a mod, and I would love to have it activate depending on the player-chosen sexuality from the Sexlab MCM. Unfortunately, I don't know how to access that in the Creation Kit or Papyrus (I'm kind of a scripting noob). Is it possible? I don't see any globals or factions for it. I could set a global in the quest script fragments if necessary but I'd need direction on how to access it in Papyrus.
BurnyD Posted March 28, 2015 Author Posted March 28, 2015 I have 2 followup questions... 1) That says it is set by the partner history, but in the MCM you can select a sexuality. Does the selected sexuality overwrite the calculated one? How does that work? 2) For NPCs, does sexlab assign sexualities as well? I think I've read that it does in the past but I just want to be sure. Thanks!
BurnyD Posted March 28, 2015 Author Posted March 28, 2015 Also, I'm trying to use this and I'm getting this error "GetPlayerSexuality is not a function or does not exist" The relevant code is: string Sexuality = SexLab.GetPlayerSexuality() ... SexlabFramework Property Sexlab Auto Full code: int Gender = Game.GetPlayer().GetActorBase().GetSex()string Sexuality = SexLab.GetPlayerSexuality()if Sexuality == "Bisexual"OfferMale.SetValue(1)OfferFemale.SetValue(1)elseif Sexuality == "Gay"OfferMale.SetValue(1)OfferFemale.SetValue(0)elseif Sexuality == "Lesbian"OfferMale.SetValue(0)OfferFemale.SetValue(1)elseif Sexuality == "Straight"if Gender == 0OfferMale.SetValue(0)OfferFemale.SetValue(1)elseif Gender == 1OfferMale.SetValue(1)OfferFemale.SetValue(0)endifendif...SexlabFramework Property Sexlab AutoGlobalVariable Property OfferMale AutoGlobalVariable Property OfferFemale Auto
BurnyD Posted March 29, 2015 Author Posted March 29, 2015 I did some ctrl+f in the SexlabFramework script and found the following functions: GetSexuality() GetSexualityTitle() GetPlayerSexualityTitle() No mention of GetPlayerSexuality(). Now I need to figure out what values these return. I'm guessing for my purposes (which I would like to apply to the player and NPCs both if possible) that GetSexuality() or GetSexualityTitle() would be what I need, since GetPlayerSexualityTitle() is just running GetSexualityTitle() on the player. Anyone with more knowledge that can help me out would be appreciated.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.