F4llfield Posted March 4, 2023 Share Posted March 4, 2023 I would like, in a script, to know if Ada (Ada2Human) is currently my companion. What would be the best way to do it? Link to comment Share on other sites More sharing options...
LarannKiar Posted March 4, 2023 Share Posted March 4, 2023 (edited) Actor Property AdaRef Auto Const Faction Property CurrentCompanionFaction Auto Const bool Function IsAdaCompanion() Return AdaRef.IsInFaction(CurrentCompanionFaction) EndFunction Or maybe: Actor Property AdaRef Auto Const bool Function IsAdaCompanion() If Game.GetPlayerFollowers().Find(AdaRef) >= 0 Return True EndIf EndFunction Edited March 4, 2023 by LarannKiar Link to comment Share on other sites More sharing options...
F4llfield Posted March 5, 2023 Author Share Posted March 5, 2023 Thousand thanks. It worked right away. Thanks again for your time and info. Google is not always cooperative when searching specific papyrus script function or item. Link to comment Share on other sites More sharing options...
Recommended Posts