SetReaction - Faction

From the CreationKit Wiki
Revision as of 15:27, 18 October 2011 by imported>Rhavlovick (1 revision: Clobber re-import by Henning)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: Faction Script

Sets the faction's reaction towards the other one.

Syntax

Function SetReaction(Faction akOther, int aiNewValue) native

Parameters

  • akOther: The Faction to set the reaction towards.
  • aiNewValue: The value to set the reaction to.

Return Value

None.

Examples

; Set the Orcs' faction reaction to the Elves
Orcs.SetReaction(Elves, -50)

See Also