Description
Wiki Description
Sets the faction's reaction towards the other one.
Documentation Comment
Sets this faction's reaction towards the other
Caveats
CK Wiki - Notes
- This is best used in conjunction with Actor.AddToFaction(...) as members of factions that oppose the PlayerFaction may have a high Aggression level, and you must use this function and set the value to 3 for making them friends.
Parameters
intaiNewValue
CK Wiki Description
The value to set the reaction to.
Examples
; Set the Orcs' faction reaction to the Elves
Orcs.SetReaction(Elves, -50)Auto-Generated Example
Faction myFaction__akOther
int myInt__aiNewValue
myFaction__toCallFunctionOn.SetReaction(myFaction__akOther, myInt__aiNewValue)Related Pages
- Faction
- Faction.GetReaction(...)
- Faction.ModReaction(...)
