SoloManGames Posted May 19, 2011 Share Posted May 19, 2011 Is it possible (using OBSE or otherwise) to access local variables from a particular object's script? Here is the scenario: I have a Quest Script that gives a Scripted Token Ring to nearby NPCs. Each Token Ring Script stores the NPCs name in a OBSE String Variable. Now, I want to be able to access that unique String Variable for each NPC from my Quest Script. Any suggestions? Link to comment Share on other sites More sharing options...
fg109 Posted May 20, 2011 Share Posted May 20, 2011 I'm not sure what you want is possible. How about scripting the token rings so that they'll add the NPC to an array in the quest script instead? Begin OnAdd set NPCref to GetContainer ar_Append YourQuest.YourArray NPCref End Link to comment Share on other sites More sharing options...
SoloManGames Posted May 20, 2011 Author Share Posted May 20, 2011 Thanks fg109, that's what I was thinking as well. Although I didn't know you could do it so easily with the ar_Append function. cool! Link to comment Share on other sites More sharing options...
Recommended Posts