Using StartFirstTime in a Mod

Hey, all. So I need a section of script in my mod to run on the start of a NEW game, but not ever run again on a game load. So using “public override void Start()” is a no go.

How can I go about making that work? I’m aware that StartFirstTime is something that exists, since it’s referenced once in the Script Mod tutorial post, but I can’t seem to use it within my mod script.

Hey @windhover. In Start() or Load() , you should be able to check GameState.Instance.creatingNewWorld.

If you’re starting a new game, it will be true, if you’re loading a saved game, it will be false.

Thanks! Loikas pointed me in the same direction, and helped me get it working.