Difference between revisions of "Talk:SetFactionRank - Actor"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Sollar
(Created page with "Here's an example of the faction settings to be viewed as a follower: ActorValue.RemoveFromFaction(DismissedFollowerFaction) ActorValue.SetFactionRank(PlayerFollowerFact...")
 
imported>Sollar
Line 1: Line 1:
Here's an example of the faction settings to be viewed as a follower:  
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.RemoveFromFaction(DismissedFollowerFaction)
   ActorValue.SetFactionRank(PlayerFollowerFaction, 0)
   ActorValue.SetFactionRank(PlayerFollowerFaction, 0)


(Note: you still need to create your own follower package if you are not using DialogueFollower Follower Alias.)
 
(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.)


--[[User:Sollar|Sollar]] 11:59, 13 June 2012 (EDT)
--[[User:Sollar|Sollar]] 11:59, 13 June 2012 (EDT)

Revision as of 11:02, 13 June 2012

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)