Mod:Creation Kit/SetEnemy - Faction

Member of: Mod:Creation Kit/Faction Script

Sets the two factions to be neutral or enemies of each other.

Syntax
Function SetEnemy(Faction akOther, bool abSelfIsNeutralToOther = false, bool abOtherIsNeutralToSelf = false) native

Parameters

 * akOther: The Faction to form a relationship with.
 * abSelfIsNeutralToOther: If true, the faction this function is called on will be neutral to the other faction. If false, it will be an enemy.
 * Default: False
 * abOtherIsNeutralToSelf: If true, the other faction will be neutral to this faction. If false, it will be an enemy.
 * Default: False

Return Value
None.

Examples
Orcs.SetEnemy(Elves) Orcs.SetEnemy(Goblins, true, true)
 * Make the two factions enemies
 * Make the Orcs and Goblins simply neutral to eachother