Jump to content

Portable cloning device and NPC gender


Recommended Posts

Hi,

 

While making my armor manager to learn fallout 4 scripting (to hopefully at one point release a mod and being able to support it), I found that the Cloned Female settlers created by the mod named "Portable Cloning device" are returning a value of "0" when I run the function:

 

GetActorBase().GetSex()

 

I find that very interesting since, in game, the same NPC will accept female clothing. So I guess, there is another setting I could check, in my script, to detect if the NPC is male or female, right?

 

 

 

Link to comment
Share on other sites

Hi,

 

While making my armor manager to learn fallout 4 scripting (to hopefully at one point release a mod and being able to support it), I found that the Cloned Female settlers created by the mod named "Portable Cloning device" are returning a value of "0" when I run the function:

 

GetActorBase().GetSex()

 

I find that very interesting since, in game, the same NPC will accept female clothing. So I guess, there is another setting I could check, in my script, to detect if the NPC is male or female, right?

 

 

 

use GetLeveledActorBase instead:

 

GetLeveledActorBase().GetSex()
Link to comment
Share on other sites

  • Recently Browsing   0 members

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