F4llfield Posted June 13, 2024 Share Posted June 13, 2024 Hi all, Wanted to know (google search and nexus forum search not helping), how to detect if an npc is a child in a script ? thanks for your time. Link to comment Share on other sites More sharing options...
SKKmods Posted June 13, 2024 Share Posted June 13, 2024 ObjectReference.HasKeyword(pActorTypeChild) Link to comment Share on other sites More sharing options...
F4llfield Posted June 13, 2024 Author Share Posted June 13, 2024 Thanks! Link to comment Share on other sites More sharing options...
F4llfield Posted June 15, 2024 Author Share Posted June 15, 2024 Actually, the HasKeyword(pActorTypeChild) didn't work. I probably did something wrong. But I got it to work with the GetRace() / humanRaceChild. I wanted to exclude children from a function in my script and now it works. Link to comment Share on other sites More sharing options...
Recommended Posts