Difference between revisions of "AddToFaction - Actor"
m
→Notes: SetReaction
imported>Lisselli (→Notes: does a check with IsInFaction then calls SetFactionRank.) |
imported>DayDreamer m (→Notes: SetReaction) |
||
Line 34: | Line 34: | ||
== Notes == | == Notes == | ||
*For faction members of factions normally an enemy to the player, simply adding the player to the faction will not make them friendly to the player if their [http://www.creationkit.com/AI_Data_Tab Aggression] level is "Very Aggressive". Therefore when you add the player to such factions, you must also change their reaction accordingly through [[SetReaction - Faction]] and make them a "friend". | *For faction members of factions normally an enemy to the player, simply adding the player to the faction will not make them friendly to the player if their [http://www.creationkit.com/AI_Data_Tab Aggression] level is "Very Aggressive". Therefore when you add the player to such factions, you must also change their reaction accordingly through [[SetReaction - Faction]] and make them a "friend". | ||
*Additionally, some actors are part of more than one enemy faction, and you must take account for this by also using | *Additionally, some actors are part of more than one enemy faction, and you must take account for this by also using SetReaction() on any other factions they are part of. | ||
* This function checks if you're in the passed in faction by calling [[IsInFaction - Actor]], and if not, calls [[SetFactionRank - Actor]] and sets your rank to 0. This may or may not be related to the above notes concerning SetReaction. More testing is needed. | * This function checks if you're in the passed in faction by calling [[IsInFaction - Actor]], and if not, calls [[SetFactionRank - Actor]] and sets your rank to 0. This may or may not be related to the above notes concerning SetReaction. More testing is needed. | ||