Jump to content

Any way to check PC's sex in a script?


BalmoraVice69

Recommended Posts

Im making a mod that makes skill books script based, dont ask why.

I though i would be fun to play an idle sound depending on characters race and sex when reading a book, like grumbling or "The indignity of it all." or "Ugh! Disgusting!" or "What's a girl gotta do to get some attention around here?" or ....you get the idea

if you have any suggestions, have at it!

Link to comment
Share on other sites

 

Hey, the moment I read this page and realize I should've seen it a year before. xD but, hey, learned these things a hard way.

 

As for your idea, I thought a little bit about it, the solution isn't ideal, but it's better than nothing:

just add a well-hidden sex detection in ANY dialogue, no need to refer to it in-dialogue. If your mod has a NPC who sells books, use 2 separate greetings for each M/F, register the global variable, then recycle it for the rest of your mod.

for example: before talking to the NPC the global could be 0, by default, after either 1 or 2 for M/F. It's not like player's sex will change mid-game. Racechangemenu isn't that well used in Morrowind, unless things have changed.

 

Most blatant solution, somewhat rude: add a new NPC right next to the Census and Excise Office in Seyda Neen and use Forcegreeting on player the moment player steps outside (set the NPC detection range to something high).

 

There is no need to even show this NPC to player: it could be called something abstract like "mod menu" and, the NPC could be a dummy, hidden somewhere, invisible to the player, then disabled via script.

 

I don't know... ideas.

 

The most insane (and probably incompatible with a lot of stuff) idea came to my mind: add a PC sex detection to Sellus Gravius, and use this feature as a community resource for ALL old and new mods. https://en.uesp.net/wiki/Morrowind:Sellus_Gravius

He's unavoidable. And in my opinion should be used that way...

 

 

Update:

Here's the solution:

 

https://discord.com/channels/210394599246659585/210894929868619778/943629006559928320

Edited by SpiritTauren
Link to comment
Share on other sites

  • Recently Browsing   0 members

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