Background for Fallout 4
Member of the Actor script
boolfunctionIsPlayerTeammate()Native

Description

Wiki Description

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

Documentation Comment

Is this actor currently a teammate of the player?


Caveats


Examples

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

Auto-Generated Example

bool returnedValue = myActor__toCallFunctionOn.IsPlayerTeammate()

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.