Jump to content

Obtaining an Actor's gender (papyrus)


Musje

Recommended Posts

Posted

Maybe this is a really silly question, but how can I get an Actor's gender in a Papyrus script? 

 

I have tried myActor.GetLeveledActorBase().GetSex()), but this sometimes returns 1 and sometimes returns 0 for Actors who are always ostensibly female.

Posted

use just GetActorBase not GetLeveledActorBase. i can see that happening because some Generic Hunters come from leveled lists which are mixed.

 

if you are using sexlab then SexLabFramework.GetGender(Actor) which will return 0 male, 1 female, 2 creature. the sexlab method is preferred since it allows actors to be forced into a... (*sigh*) gender role... regardless of their sex.

Archived

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

  • Recently Browsing   0 members

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