Hi again,
I have one C++ class (registered as a reference in angelscript) that creates and executes a unique script which finally stores a few variables in the script object (class). The C++ object is stored in C++ (unordered map, for now) and the C++ class stores the asIscriptobject.
I have another class set up the same way. This other class calls a C++ function which executes its own unique script, and in that script function it calls a C++ function to get a reference to the first C++ object.
How would I get access within the second script to the first script object, so I can access the variables stored in that script object?