SetCrimeFaction - Actor

Revision as of 16:27, 18 October 2011 by imported>Rhavlovick (1 revision: Clobber re-import by Henning)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

SyntaxEdit

Function SetCrimeFaction(Faction akFaction) native

ParametersEdit

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

Return ValueEdit

None.

ExamplesEdit

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

See AlsoEdit