SetPlayerTeammate

From GECK

Revision as of 20:21, 12 December 2008 by Quetzilla (Talk | contribs)

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

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

See Also

Personal tools