IsFactionInCrimeGroup - Faction

From Creation Kit
Jump to: navigation, search

Member of: Faction Script

Checks to see if the passed in faction is in this faction's crime group.

Syntax

bool Function IsFactionInCrimeGroup(Faction akOther) native

Parameters

Return Value

Whether this faction has the other in its crime group.

Examples

; Is the elf faction in the human faction crime group?
if (HumanFaction.IsFactionInCrimeGroup(ElfFaction))
  Debug.Trace("Humans care about elf crimes!")
endIf

See Also