F4llfield Posted April 25, 2023 Share Posted April 25, 2023 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 More sharing options...
lee3310 Posted April 26, 2023 Share Posted April 26, 2023 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 More sharing options...
F4llfield Posted April 26, 2023 Author Share Posted April 26, 2023 Thanks lee310, it worked. Now I need to read on leveled items. Link to comment Share on other sites More sharing options...
Recommended Posts