Mod:Creation Kit/SetCrimeFaction - Actor

Member of: Mod:Creation Kit/Actor Script

Sets the faction this actor reports crimes to. You may pass None to clear out the crime faction on the actor. If the actor does not currently belong to the crime faction, it will be added to that faction.

Syntax
Function SetCrimeFaction(Faction akFaction) native

Parameters

 * akFaction: The Faction this actor will now report crimes to.

Return Value
None.

Examples
Joe.SetCrimeFaction(PoliceFactionProperty)
 * Tell Joe to report to the police faction