Hoamaii Posted February 22, 2017 Share Posted February 22, 2017 Hi guys, Anybody can tell me the difference between these two functions: 1. Actor.IsPlayerTeammate() and 2. Actor Comp01 = Game.GetPlayerFollowers(). I'd assumre IsPlayerTeammate() either checks current companion status (since the Vanilla game lets us only have one companion at a time) - or possibly only romanced companion?.. But he array function GetPlayerFollowers() - plural - gets me confused, does this mean that all companions, whether dismissed or following, are considered as "followers" after you've first recruited them? Or is there a plural here only because if may include current follower + potential quest-related followers? Many thanks in advance! Cheers, Hoamaii Link to comment Share on other sites More sharing options...
shavkacagarikia Posted February 22, 2017 Share Posted February 22, 2017 I suppose Actor.IsPlayerTeammate() is used to know if specific actor is player's teammate. It's boolean function and returns just true or false.But GetPlayerFollowers is more generic way and returns actor array that are followers. This is what wiki says about who can be such actors(From wiki page): GetPlayerFollowers() returns actor array containing all actors that are either:1) Running an AI procedure that followers the player (e.g. Follow, Range).2) Running a package that is flagged to treat the actor as a player-follower (e.g. a Sandbox on a player companion). Also according to some ingame scripts, initially bethesda was planning to allow player to have dogmeat and any other companion at once. Link to comment Share on other sites More sharing options...
Hoamaii Posted February 22, 2017 Author Share Posted February 22, 2017 Thanks Shavkacagarikia, I saw that too on the Wiki, these functions can't replace each other of course - but nonetheless it makes me wonder what is so specific about "Teammates" as opposed to "Followers" or "CurrentFollowers", I suspect there's gotta to be a clear distinction but I can't figure out which. Link to comment Share on other sites More sharing options...
cdcooley Posted February 23, 2017 Share Posted February 23, 2017 I haven't looked into Fallout 4 specifically, but for Skyrim the difference is that the PlayerTeammate property changes NPC behaviors like what armor they wear, if their crimes and kills are counted as player crimes and kills, if they are willing to be "commanded" to do things, if they are willing to trade items with the player, etc. But it has nothing to do with the AI packages or factions that would actually make the character follow the player. In Skyrim there was no way to know which characters were actually following the player and which were just willing to follow other than by faction membership and you still had to test all nearby NPCs so you couldn't easily get a list of them. From the descriptions given above it sounds like GetPlayerFollowers provides that missing information. Link to comment Share on other sites More sharing options...
Recommended Posts