×
Fallout Wiki
☢  Independent Fallout Wiki Resources  Vault logo

IsInFaction - Actor

Resource:Creation Kit > IsInFaction - Actor


Member of: Resource:Creation Kit/Actor Script

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

Syntax[edit]

bool Function IsInFaction(Faction akFaction) native

Parameters[edit]

Return Value[edit]

Whether the actor is a member of the specified faction or not.

Examples[edit]

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

Notes[edit]

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

See Also[edit]