I'd like to declare and set a global xpEngine object to use in my global scripts file. I don't want to instantiate a new engine, just grab the reference for it so I don't have to pass the `Engine` ref as a parameter to nearly every function.
The closest I've gotten is to call a "SetPublic" function at the start of every event but that kind of defeats the purpose a bit, ideally it should be contained to the global scripts entirely. Any ideas?
Pictured below is the "SetPublic" method

And this is how I'd like it to work

------------------------------
Tim Lundberg
------------------------------