GetPlayerFollowers - Game
From Creation Kit
Member of: Game Script
Returns an array of the player's followers.
Actor Function GetPlayerFollowers() native global
- Running an AI procedure that followers the player (e.g. Follow, Range).
- Running a package that is flagged to treat the actor as a player-follower (e.g. a Sandbox on a player companion).
Actor playerFollowers = Game.GetPlayerFollowers( ) int index = 0 while (index < playerFollowers.Length) ;playerFollowers[index].DoSomething() currentElement += 1 endWhile