Jump to content

Access Variables in an Object Script?


SoloManGames

Recommended Posts

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

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...