Just ran a quick test of my newly redesigned from the ground up 'Pip-Boy plug-in'.
Success, this time; the emergency reset function fired without a hitch. Menu displayed properly, item equipped and added its token; which appears to have removed itself correctly.
This one working, I'm going to expand it, and see if I can get the summon and tracking cycle functions to work.
As it stands, it works like this:
Initiate dialog with companion. At the top of the dialog chain will be the option "Give me your Pip-Boy plugin". Which they, of course, do - being good girls and all. From there on, you have an item in your inventory, on the armor screen, named '(Companion's name) Pip-Boy Plugin'.
Equip the item, and a menu will open, giving you the option to initiate emergency reset, or cancel. The reset command teleports the companion to you, plus 128 units on the X axis, and re-applies the follow package. Cancel, unsurprisingly enough, simply closes the menu with no action taken.
I want to expand it to include two other options. The 'tracking cycle' which will add the tracking quest if it's disabled, or vice-versa; and the 'summon' command, which would be like a radio call. The summoned companion would move normally to your position, from wherever they are in the game world.
Though that third option may well be superfluous. I want it for immersion purposes... but I know perfectly well most people (myself included in all likelihood) would simply 'port the companion in when they want them handy; so I wonder if it's not a waste of time to bother scripting in.
Planning to reduce the X distance that the companion warps in at, as well. I happened to be in a metro tunnel entryway when I tested the function, and 128 nearly put her into the wall; had I been standing any further over than the center life could've gotten interesting.
Am thinking at the moment that 32 units would probably be sufficient to keep them from spawning on top of you, but still keep them out of walls and such in tight quarters.
May investigate more advanced functions that would allow the companion to always teleport in directly in front of you; so you can control where they come in by the direction you're looking.
Also considering making the plugin ability one that is not a freebie. Something you'll have to scavenge from Vault-Tec HQ or such. Would be simple enough to drop a set of "schematics" on a desk in there someplace to teach the player to integrate the prototype technology into their Pip-Boys.
Edit, 0925: Well, the beta plugin apparently isn't as far off as I thought. Just tested the expanded plugin, and while the automatically stage-detecting tracking cycler doesn't work, swapping it out for a simple set of On and Off options works without a problem.
Going to do a bit more testing; check that it works with she and I in different cells, using different packages, etc - but I think it looks promising.