Ya
I really don't want to distribute a new Page Default Hud.py file for just one new line, when all of my code is in a seperate .py file and a DLL
Currently I hooked via Page Background.py which is empty. But still, others may want to do so too, and then there's the drama of merging scripts. Being able to just dump a file in a folder and have it's initializer called would be alot easier for us...
[edit] Oh and
import doesn't do the same thing as my little script above, I also need to invoke the script to run (at least, it doesn't work without it). Yea, I want an autoload folder of some sorts...
Currently my Page background.py file only does this... note, this is only to run the entire script in another file 'MyModule.py'. The target script does nothing
UI related...
Code:
from MyModule import MyModule
def InitializeScript():
MyModule.MakeSureIsLoaded( MenuPageWrapper.InitializeScript.Now )
def StartGame():
pass
def EndGame():
pass
def UnloadScript():
pass
Really wish this wouldn't be necessary...