IsPlayerTeammate - Actor

Member of: Actor Script

Checks to see if this actor is currently a teammate of the player

SyntaxEdit

bool Function IsPlayerTeammate() native

ParametersEdit

None.

Return ValueEdit

Whether this actor is currently a teammate of the player

ExamplesEdit

; Is Ed the players teammate
if Ed.IsPlayerTeammate()
  Debug.Trace("Ed is the players teammate!")
endIf

See AlsoEdit