So I have a challenging dilemma, and I'm still a little fuzzy on the details so let me just jump right into it.
*EDIT: See 2nd post for progress...
What I am trying to do is store an NPC reference for later use and manipulation. By later I mean like even after the game has been saved/reloaded.
The only way I can imagine to do this is through the use of a quest alias.
Ingenue had an interesting idea over on http://www.gamesas.com/topic/1373542-how-do-you-addscriptpackage-now/page__view__findpost__p__20765624 thread:
Or make the quest start from a script event so you can send the NPC as a parameter:
MyKeyword.SendStoryEvent(akRef1 = someNPCref)
and then use Find matching reference: From event to assign the alias.
MyKeyword.SendStoryEvent(akRef1 = someNPCref)
and then use Find matching reference: From event to assign the alias.
In theory that seems like it might work. I am not sure if quest aliases are saved so long as the quest stays running though, like if one died I could just put it in a temporary cell that never reset and bring it back with MoveTo and resurrect?
EDIT: Reading http://www.creationkit.com/Story_Manager and http://www.creationkit.com/SM_Event_Node now, maybe I'll figure it out after all.
