Mod:Creation Kit/IsInFaction - Actor

Member of: Mod:Creation Kit/Actor Script

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

Syntax
bool Function IsInFaction(Faction akFaction) native

Parameters

 * akFaction: The Faction to check.

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

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