Jump to content

Photo

NPC follow Follower

follower npc help pachages

  • Please log in to reply
3 replies to this topic

#1
Wintermoon137

Wintermoon137

    Regular

  • Members
  • PipPip
  • 61 posts

Hello. So, I know that through packages I can make NPC Y follow NPC X. My question is, can I make that package trigger only when NPC X is following me?
Basicly, both NPCs would each be doing their own stuff with their sandbox package etc, but as soon as I recruit X as my follower then Y would automatically follow X aswell, by triggering said package. How can I achieve that? I have been checking the conditions tab but I can't figure out any that would make it work like that.

Or does that only work with a script? If so, which one and how would I apply it? I'm still very noob with this part of modding.


Edited by Wintermoon137, 28 March 2020 - 02:33 AM.


#2
callingbear

callingbear

    Journeyman

  • Premium Member
  • 20 posts

Have you looked to see how Bethesda got Aryn to follow Mjoll around?



#3
Wintermoon137

Wintermoon137

    Regular

  • Members
  • PipPip
  • 61 posts

Have you looked to see how Bethesda got Aryn to follow Mjoll around?

 

Actually I haven't, maybe I should take a look at that, see if I find anything useful there, thanks.



#4
Ghaunadaur

Ghaunadaur

    Faithful poster

  • Supporter
  • PipPipPipPip
  • 1,190 posts

Hello. So, I know that through packages I can make NPC Y follow NPC X. My question is, can I make that package trigger only when NPC X is following me?

 

Hello, add the following condition to the package:

 

GetInFaction [PlayerFollowerFaction] == 1.0

run on reference [NPC x]

 

or

 

GetPlayerTeammate == 1.0

run on reference [NPC x]

 

you may need to add another condition to the sandbox package, that checks for the opposite (== 0).


Edited by Ghaunadaur, 03 June 2020 - 10:57 AM.






Also tagged with one or more of these keywords: follower, npc, help, pachages

Page loaded in: 1.055 seconds