Difference between revisions of "AddToFaction - Actor"

Jump to navigation Jump to search
288 bytes added ,  14:25, 11 August 2014
Fixed typo and added a new example.
imported>Terra Nova2
(Added note regarding this function not working as expected if faction members aggression are very aggressive.)
imported>Terra Nova2
(Fixed typo and added a new example.)
Line 20: Line 20:
; Add Hrothgar to the Dark Brotherhood  
; Add Hrothgar to the Dark Brotherhood  
Hrothgar.AddToFaction(DBFaction)
Hrothgar.AddToFaction(DBFaction)
;Adding the player to the Falmer Faction wont make the Falmers friendly. So change their reaction.
Actor property PlayerRef auto
Faction property FalmerFaction auto
Faction property PlayerFaction auto
PlayerRef.AddToFaction(FalmerFaction)
PlayerFaction.SetReaction(FalmerFaction, 3)
</source>
</source>
== 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 play 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".


== See Also ==
== See Also ==
Anonymous user

Navigation menu