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
- This function will return
Falsefor an Actor that has a rank of-1despite being listed in the Faction.
Parameters
Examples
; Is the guard in the rift faction?
if Guard.IsInFaction(RiftFaction)
Debug.Trace("Guard is in the rift faction")
endIfAuto-Generated Example
Faction myFaction__akFaction
bool returnedValue = myActor__toCallFunctionOn.IsInFaction(myFaction__akFaction)Related Pages
- Actor
- Actor.GetFactionRank(...)
- Actor.ModFactionRank(...)
- Actor.SetFactionRank(...)
- Actor.RemoveFromFaction(...)
