SetCrimeFaction - Actor

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: 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[edit | edit source]

Function SetCrimeFaction(Faction akFaction) native

Parameters[edit | edit source]

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

Return Value[edit | edit source]

None.

Examples[edit | edit source]

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

See Also[edit | edit source]