Between the standard papyrus functions and SKSE, is ref walking still a viable approach to filling a form list of NPC's in a certain area? I did some scripting for NV and want to work on a simple bug fix. Apparently when the engine detects an NPC with a non existent formid (like a combat package for instance), it crashes. I would like to work with the guy who made skyrim crash plugins and write a relatively simple refwalking script that can be called by his SKSE plugin that will scan the area for NPCs and fill a formlist with combat packages, then go through these packages and run a check to confirm all combat packages are valid. If they are not I would like to dynamically assign a combat package based on NPC type, area, level, etc. I'm hoping that if this is done correctly it can avoid CTD causes by non existent formids.
Does anyone have a relatively simple refwalking script example currently in use in skyrim, or can point me in the right direction?
thanks!