×
Fallout Wiki
☢  Independent Fallout Wiki Resources  Vault logo

IsPlayerTeammate - Actor

Resource:Creation Kit > IsPlayerTeammate - Actor


Member of: Resource:Creation Kit/Actor Script

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

Syntax[edit]

bool Function IsPlayerTeammate() native

Parameters[edit]

None.

Return Value[edit]

Whether this actor is currently a teammate of the player

Examples[edit]

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

See Also[edit]