When I added the infos for my custom follower, the wait/follow button worked, but it seemed like the wheel wasn't keeping track of the current state - i'd have to hit the button two times to toggle it sometimes. Going back through the posts, there's something llamaRCA mentioned about the variables in the NPC script. If you use the same variables as in the vanilla followers, the wheel will read them and know the current state of the button - ie when the button is not highlighted by the mouse, it should show the icon of the current state - waiting or not.
I've verified this behavior with wait and the switchaggressive. They were both just flaky without the variables. I'll be trying it on the CS and distance - not sure which two of the distance variables are used.
scn MyNPCScript;------------- Wheel Variables -------------short CombatStyleRangedshort CombatStyleMeleeshort IsFollowingDefaultshort IsFollowingShortshort IsFollowingLongshort FollowerSwitchAggressive ; 0 = Passive (wait for player), 1 = Aggressive (attack when see enemy)short Waiting
Another thing you can do if you don't want to clutter the vNPCFollower quest, is to create a new quest for your NPC, and add the appropriate topics mentioned by Tarrant to your quest, and add the infos with conditions for your follower. When the game loads, it stacks all the infos since it's the same topic (just like a bunch of mods use GREETING', the game stacks them all together at runtime).