Jump to content

Help with scripting


Rendan

Recommended Posts

Scripting is one thing I'm trying to get better at so I'm wondering if someone can help me with a script that allows more than one follower. I've seen some of those multiple follower mods but I just want something that changes the follower count...nothing more.
Link to comment
Share on other sites

I don't think there's any "follower count" that you can easily change.

 

The way that most other follower mods work is by providing quest dialogue that triggers a specific actor script to start running. The actor script causes the actor to behave like a follower would, going where you are, attacking your enemies, etc.

 

What it comes down to is that if you want to do this, you'll need to either use another mod that allows multiple followers, or learn how to write simple actor scripts that give actors the necessary AI to act like followers.

Link to comment
Share on other sites

I think you're talking about the PlayerFollowerCount, which is a global variable. In order to make a multiple follower mod, you don't actually change this global variable. Instead, you have to change the way the follower quest uses that variable. Many multiple follower mods add multiple aliases to the generic follower quest. In addition to adding more aliases (which I believe is necessary to allow for more followers), they need to change the quest script and dialogue conditions. One of the conditions checks PlayerFollowerCount; this is where you would need to change the conditions to allow for a larger count.

 

If you are creating a follower that doesn't use the generic follower quest, you can simply avoid using PlayerFollowerCount as a condition, and your follower will then follow you regardless of how many other followers you have.

Link to comment
Share on other sites

I think you're talking about the PlayerFollowerCount, which is a global variable. In order to make a multiple follower mod, you don't actually change this global variable. Instead, you have to change the way the follower quest uses that variable. Many multiple follower mods add multiple aliases to the generic follower quest. In addition to adding more aliases (which I believe is necessary to allow for more followers), they need to change the quest script and dialogue conditions. One of the conditions checks PlayerFollowerCount; this is where you would need to change the conditions to allow for a larger count.

 

If you are creating a follower that doesn't use the generic follower quest, you can simply avoid using PlayerFollowerCount as a condition, and your follower will then follow you regardless of how many other followers you have.

 

This is definitely what I was looking for. Thank you very much for the information.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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