GamerRick Posted August 26, 2022 Share Posted August 26, 2022 (edited) I am on the bridge now with them both following me. So, I have 2 followers (Bremmen and Farwil) and both have me as their target. How did you get the %i operator to work? I always get 0 when using it, just as the documentation for the PrintC command states:%i - Prints the FormID of the specified reference or object. GOTCHA : as of v18, if a refVar is passed which points to a ref not loaded in memory %i will print 00000000 even if the refVar is not empty. Here is the output from RefScope: ----[ 2022-08-26 13:36:25] AI packages on actor 00031BC6 (Farwil Indarys) Current package: 00032E08 Follow Rick (in Realm of Oblivion) ----[ 2022-08-26 13:36:42] AI packages on actor 00031BC8 (Bremman Senyan) Current package: 00032E0E Follow Rick (in Realm of Oblivion) Edited August 26, 2022 by GamerRick Link to comment Share on other sites More sharing options...
chambcra Posted August 27, 2022 Author Share Posted August 27, 2022 I've tried the RomanR check code and I get the same results as before. I know it's working though because I made a mistake my first try and copied over my set TempRef line and I got the invalid ref error. That had me going for a minute until I saw my mistake. "How did you get the %i operator to work?" Must be beginners luck. I used RefScope and my results look little different format and maybe that's because your characters were near you and you could do the activate thing but for me Bremman was nowhere near so I entered "prid 31bc8" in the console. The first thing I saw is that Bremman is following Farwil but after stepping through the RefScope menus and selecting AI packages all I see that following cornelio is one of them. So, now I have something to work on. I just need to find out how RefScope finds this follow cornelio package and then figure a way to selectively remove AI packages from a select npc. Right? Or is there an easier way?Thanks RefScope output: NPC 00031BC7Name: Bremman SenyanDefined in Oblivion.esmScript 0700386CDefined in Unofficial Oblivion Patch.esp----[ 2022-08-27 05:40:28]AI Package 00032E10Defined in Oblivion.esmPackage Type: FollowDay of week: AnyMonth: AnyDate: AnyTime: Any, Duration: 0Target: Reference 00031BC6 (Farwil Indarys), distance 0Flags: Skip Fallout Behavior----[ 2022-08-27 05:42:10]Wander near Wooden Door (in Knights of the Thorn Headquarters)Wander near XMarker (in Riverview)Wander near XMarker (in Cheydinhal Bridge Inn)Eat at Knights of the Thorn HeadquartersSleep at Knights of the Thorn HeadquartersFollow cornelio (in Waterfront Lighthouse)Wander near XMarker Link to comment Share on other sites More sharing options...
GamerRick Posted August 27, 2022 Share Posted August 27, 2022 RefScope output: NPC 00031BC7Name: Bremman SenyanDefined in Oblivion.esm Script 0700386CDefined in Unofficial Oblivion Patch.esp ----[ 2022-08-27 05:40:28]AI Package 00032E10Defined in Oblivion.esm Package Type: Follow Day of week: AnyMonth: AnyDate: AnyTime: Any, Duration: 0 Target: Reference 00031BC6 (Farwil Indarys), distance 0 00032E10 = MS13PostQuestFollowFarwil Would have been nice to know that in the first place. Good luck! Link to comment Share on other sites More sharing options...
chambcra Posted August 28, 2022 Author Share Posted August 28, 2022 Yes, there is also MS13FollowFarwil which actually has the player for target. Maybe that got hung up in Bremman's list of things-to-do in cornelio's game. I had completely forgot about RefScope and probably never did realize how powerful a tool it is, especially now that I have to learn more about AI packages. I should be able to work this out now. Thanks for your help. And thanks for your help RomanR. I think your valid reference check is a good idea I should leave in there for more robust code. Also, I wasn't familiar with this syntax ( "+$Count+" ) that looks handy. Link to comment Share on other sites More sharing options...
Recommended Posts