- Supporting followers, even in vanilla Skyrim, is a big bag of hurt. Bethesda can't make up their minds about how they would like to handle followers. There are at least 2 different conventions used in the base game ("normal" followers, like Jenassa, and Dark Brotherhood followers). Three if you count Dawnguard, which uses its own system of aliases.
- There are several major multi-follower mods: Amazing Follower Tweaks, Ultimate Follower Overhaul, and Extensible Follower Framework. There might be more, but those are the ones that come to mind. They all have their own system of managing followers and their own ReferenceAliases.
- Assign generic dialogue topics to followers.
- Run scripts against some or all followers currently in service.
- Know exactly how many followers you have.
- Provide support for all types of multi-follower mods.
- etc
Some ideas for functions would be:
Actor function GetNthFollower(int iFollower)
int function GetFollowerCount(bool bIncludeAnimals = false)
bool function IsFollower()
int function GetFollowerIndex()
...and so on. Just very generic functions that enable you to do powerful things regardless of the user environment.
WIth the above examples, I could do something like...
if Jenassa.IsFollower() if Jenassa.GetFollowerIndex() == UFF.GetFollowerCount() notification("Jenassa, you are the last follower! Haha!") endifendif
Silly, but you get the point. Imagine trying to do that when you don't know if your user is using EFF, or UFO, or AFT, or none of the above.
So, the purpose of this thread: what kinds of features would you want in a Follower API such as this? What would make your life easier when trying to support the multitude of followers and follower mods in existence?
Thanks!