Jump to content

[LE] NPC follow Follower


Recommended 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
Link to comment
Share on other sites

  • 1 month later...

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
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...