IsPlayerTeammate - Actor

From the Fallout4 CreationKit Wiki
Revision as of 16:27, 18 October 2011 by imported>Vitamant (1 revision: Clobber re-import by Henning)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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]