SetReaction - Faction
Revision as of 12:19, 20 September 2014 by imported>Terra Nova2
Member of: Faction Script
Sets the faction's reaction towards the other one.
SyntaxEdit
Function SetReaction(Faction akOther, int aiNewValue) native
ParametersEdit
- akOther: The Faction to set the reaction towards.
- aiNewValue: The value to set the reaction to.
Return ValueEdit
None.
ExamplesEdit
; Set the Orcs' faction reaction to the Elves
Orcs.SetReaction(Elves, -50)
NotesEdit
- This is best used in conjunction with 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.