SetPlayerTeammate

From the Fallout3 GECK Wiki
Jump to navigation Jump to search

Syntax:

RefName.SetPlayerTeammate 1/0

Example:

BobREF.SetPlayerTeammate 1


Changes the actor's behavior to simulate being a combat teammate of the player. The actor will act and react as if he is in the player faction for the purposes of combat. Other actors will treat the actor as is he were in the player faction. The teammate will imitate the player's sneak state. An actor in the teammate state can be activated in combat.

Notes[edit | edit source]

  • Increments the player teammate count.
  • Teammate state is cleared on death of the actor and player teammate count is decremented.

See Also[edit | edit source]