I'm trying to figure out the new scripting and not doing well. What I want to do is modify the DialogueFollower quest. I want to add a custom response to the topic where my companion decides to follow the player. The topic would be keyed GetIsId = MyCompanionsName so it shouldn't mess up any other mods. Only she would follow this path.
For that topic I want to add code to the End script fragment, so once she responds to the player and decides to follow me the script fragment needs to start the new quest and advance the quest stage to 10. I just need an example of the code to do this to start my way. Any help is appreciated.
actually if you do it this way, it will screw up follower mods such as UFO etc. 2 mods cannot modify the same quest. but then again, if your follower uses a custom voice type, it probably wont be compatible with UFO anyway.
in any case, if you plan on releasing this mod publicly, you may want to consider that whoever downloads this mod will have to decide if they want to use it over mods like UFO.
you can however, make a completely standalone follower mod (suggested for custom voice types) by creating an entirely new follower quest just for your follower. if you use this kind of system you should not use any of the vanilla follower quest assets. the downside to this is that, since your follower will not show up in any 3rd party mod, you will not be able to take advantage of any features added by those mods. you will have to define all the features for your follower yourself.