four2nothin Posted April 25, 2017 Share Posted April 25, 2017 What steps do i need to take so that if the player fires the companion, they won't be able to proceed with the quest? In other words, the quest requires the companion with them at all times. I don't necessarily want them to fail the quest, but i don't wan them to be able to proceed. Link to comment Share on other sites More sharing options...
Greslin Posted April 25, 2017 Share Posted April 25, 2017 Check to see if the companion in question is currently in the CurrentCompanionFaction faction: if tempActor.IsInFaction(Game.GetCommonProperties().CurrentCompanionFaction) debug.notification("Yep, they're here!") endif In this example, tempActor needs to set to the reference for that specific companion NPC. It'll tell you whether they are currently following you. If all you care about is that they're a teammate (not a companion, but currently following you for a quest), you can also check GetPlayerTeammate() for that actor. You'd use that for situations such as the initial Valentine rescue. Either way, you can drop that into a script or a quest conditional. Should do the job nicely. Link to comment Share on other sites More sharing options...
Recommended Posts