(adsbygoogle = window.adsbygoogle || []).push({});
I was scrolling through some BO2 functions and found something that drawn my attention:
I found a piece of code that creates a spawnStruct() which, as I am aware, is designed to create objects information, like .something:
myStruct = spawnStruct();
Now, my question is, how does one goes to knowing what to call that myStruct outside of that scope.
For instance, the game created an struct and now I want to retrieve it's name so I can use it somewhere else, since it was not a level. or self. type of variable I can't just use myStruct, so I was wondering if I re-created that thread, what would I have to do to print out it's name, so I can work with it outside the game, and applying it to my own function.