If I want to create a mod that just runs on the server, say, to modify output to the log, how would I initialize it? Take for example a basic Hello World script. What if I wanted this to run everytime a new game is started?
I tried messing around with running the init via events such as:Code:class HelloWorld extends UTGame; function Init() { LogInternal("==========="); LogInternal("Hello World"); LogInternal("==========="); }
...but to no avail.Code:event PostBeginPlay() { Super.PostBeginPlay(); Init(); }



Reply With Quote




Bookmarks