IsPlayerTeammate - Actor

From Creation Kit
Jump to: navigation, search

Member of: Actor Script

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

Syntax

bool Function IsPlayerTeammate() native

Parameters

None.

Return Value

Whether this actor is currently a teammate of the player

Examples

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

See Also