Talk:SetFactionRank - Actor

From the CreationKit Wiki
Revision as of 11:02, 13 June 2012 by imported>Sollar
Jump to navigation Jump to search

Here's an example of the faction settings to that of a follower:

Define these two properties:

 Faction Property DismissedFollowerFaction Auto
 Faction Property PlayerFollowerFaction Auto


Then call these statements in your code:

 ActorValue.RemoveFromFaction(DismissedFollowerFaction)
 ActorValue.SetFactionRank(PlayerFollowerFaction, 0)


(Note: you still need to create your own follower package if you're not using DialogueFollower Follower Alias, but ScenicCarriages will now recognize the NPC as a follower and include them in the carraige.)

--Sollar 11:59, 13 June 2012 (EDT)