Zorkaz Posted November 17, 2020 Share Posted November 17, 2020 Getting really lost in the MQ jungle so: If the player joins the Institute or fights it, does the Institute faction get added (or removed) to the PlayerRef? Or is the PlayerFaction set to be friendly to the InstituteFaction? Link to comment Share on other sites More sharing options...
SKKmods Posted November 17, 2020 Share Posted November 17, 2020 Player is added to and removed from InstituteFaction. The key globals to check are PlayerInstitute_Joined and PlayerInstitute_KickedOut so you can do a three way validation on state; If (pPlayerInstitute_Joined.GetValue() == 0) ; not yet joined should not be in InstituteFaction ElseIf (pPlayerInstitute_Joined.GetValue() == 1) && (pPlayerInstitute_KickedOut.GetValue() == 0) ; joined not kicked must be in InstituteFaction ElseIf (pPlayerInstitute_KickedOut.GetValue() == 1) ; kicked out must not be in InstituteFaction EndIfOr you could just test (pPlayerREF.IsInFaction(pInstituteFaction). Be extremely careful about adding and removing the player from that faction, you will blow the game up if you are not aware of ALL the consequences in various quest states. Link to comment Share on other sites More sharing options...
Zorkaz Posted November 17, 2020 Author Share Posted November 17, 2020 Only checking if.Thanks Link to comment Share on other sites More sharing options...
Recommended Posts