gewissen Posted January 9, 2011 Share Posted January 9, 2011 Hi, I wanted to ask some question about the new companion wheel: I wanted to make a companion, which uses the new companion wheel. I know there are already some threads which answers some questions, but not for the game mechanic i was looking for.I tried to add a companion wheel to my follower with this commanand: myNPCref.SetPlayerteammate 1 (not setting any factions, ranks or lists yet)That enables the companion wheel as expected. Furthermore I added a script to the NPC: scn TBSLNPCScript int Waiting int CombatStyleMelee int CombatStyleRanged int IsFollowingDefault int IsFollowingLong int FollowerSwitchAggressive This script just holds some fields, which describe the followers behaviour. The vanilla companions also have this fields in their scripts.Now the interessting part: If i use the companion wheel to switch the npc to passive/aggressive the var "FollowerSwitchAggressive" is set/unset automaticly, without me fiddling with anything. I was very pleased, as I could now use this fields to add conditions to the NPCs AI-Packages.... but this seems only to work with the passive/aggressive option from the wheel. The Wait/Follow, Melee/Ranged and the others do not work (besides Speak/Open Inventory etc.) So my question is: if i click on the ranged/melee button of my character for example, what exactly does happen? where can i find the input/state? Furthermore: the status of the wheel is read, when a companion is activated. So if my NPC is set to aggressive and i activate the wheel, the right symbol i shown to set the NPC to passive and vice versa. If I click on the other option, the input is not saved and i get the same option i open the companion wheel the next time. So how dows the companion wheel know, that my NPC is following long or short for example? This overall behaviour seem very strange to me. I am sure, that I could capture the input manually, but that would not solve the problem, that the companion wheel has no data of the current state of my follower. Sorry for my bad english, I hope you know, what i mean and try to accomplish ;) GreetingsGewissen Link to comment Share on other sites More sharing options...
Recommended Posts