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

Description

Wiki Description

Returns whether this actor is a member of the specified faction or not.

Documentation Comment

Checks to see if this actor is a member of the specified faction


Caveats

CK Wiki - Notes

  • There's possibility this function will return true under certain circumstances where it should return false instead. See the GetFactionRank - Actor talk page

Parameters

FactionakFaction

CK Wiki Description

The Faction to check.


Examples

; Is the guard in the rift faction?
if Guard.IsInFaction(RiftFaction)
  Debug.Trace("Guard is in the rift faction")
endIf

Auto-Generated Example

Faction myFaction__akFaction

bool returnedValue = myActor__toCallFunctionOn.IsInFaction(myFaction__akFaction)

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.