IsPlayerTeammate - Actor

From the CreationKit Wiki
Jump to navigation Jump to search

Member of: Actor Script

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

Syntax[edit | edit source]

bool Function IsPlayerTeammate() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

Whether this actor is currently a teammate of the player

Examples[edit | edit source]

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

See Also[edit | edit source]