Difference between revisions of "SetPlayerTeammate"


Line 18: Line 18:
[[Category: Miscellaneous Functions]]
[[Category: Miscellaneous Functions]]
[[Category:Actor Functions]]
[[Category:Actor Functions]]
[[Category:Godsend Functions]]

Revision as of 19:21, 12 December 2008


RefName.SetPlayerTeammate 1/0


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.


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

See Also

Personal tools