BellaDovah Posted September 6, 2018 Share Posted September 6, 2018 I'm working on some scripts and I'd like to do a check if the player has adopted a child. If there is a way to do this I'm wondering if it might be through a faction just like you get assigned to 'playerMarriedFaction' if you get married. The only faction it sounds like it could potentially be for adoption is 'BYOHRelationshipAdoptionChildOwnedFaction' but I can't find any information that this is right. Does anyone have any idea? Link to comment Share on other sites More sharing options...
Deleted3897072User Posted September 6, 2018 Share Posted September 6, 2018 You can test the Child1 and Child2 aliases in the BYOHRelationshipAdoption quest. If either is non-null, there is an adopted child. Link to comment Share on other sites More sharing options...
Deleted53237921User Posted September 6, 2018 Share Posted September 6, 2018 You can test the Child1 and Child2 aliases in the BYOHRelationshipAdoption quest. If either is non-null, there is an adopted child. I believe that Child1 is set when the first child is adopted, so you only need check it. Checking Child2 would be redundant. Link to comment Share on other sites More sharing options...
Deleted3897072User Posted September 6, 2018 Share Posted September 6, 2018 You can test the Child1 and Child2 aliases in the BYOHRelationshipAdoption quest. If either is non-null, there is an adopted child. I believe that Child1 is set when the first child is adopted, so you only need check it. Checking Child2 would be redundant. Defensive coding ;) Theoretically, the Child1 alias could get cleared after the second is set. Yes, I know it can't happen, but Murphy's law says it will :D Link to comment Share on other sites More sharing options...
Deleted53237921User Posted September 6, 2018 Share Posted September 6, 2018 You can test the Child1 and Child2 aliases in the BYOHRelationshipAdoption quest. If either is non-null, there is an adopted child. I believe that Child1 is set when the first child is adopted, so you only need check it. Checking Child2 would be redundant. Defensive coding :wink: Theoretically, the Child1 alias could get cleared after the second is set. Yes, I know it can't happen, but Murphy's law says it will :D And we all know that Murphy was an optimist. Link to comment Share on other sites More sharing options...
Thandal Posted September 7, 2018 Share Posted September 7, 2018 Which game? Link to comment Share on other sites More sharing options...
TheVampireDante Posted September 7, 2018 Share Posted September 7, 2018 Skyrim Thandal - the HF stands for Hearthfire. Link to comment Share on other sites More sharing options...
Recommended Posts