Hi,
New member here, I just bought mv a few days ago.
Problem: I need a place to call a function at the start of the game.
So I tried overriding this function in a plugin in an attempt to setup my own things for my game.
the problem is that apparently this gets called 120 times on the load screen even before I click new game.
Am I looking at the wrong place to setup my own variables?
Thanks for any help in advance!
New member here, I just bought mv a few days ago.
Problem: I need a place to call a function at the start of the game.
So I tried overriding this function in a plugin in an attempt to setup my own things for my game.
the problem is that apparently this gets called 120 times on the load screen even before I click new game.
Code:
DataManager.setupNewGame = function() {
this.createGameObjects();
this.selectSavefileForNewGame();
$gameParty.setupStartingMembers();
console.log("how many times called"); //this gets called 120 times according to console during load. then once when I click new game.
$gamePlayer.reserveTransfer($dataSystem.startMapId,
$dataSystem.startX, $dataSystem.startY);
Graphics.frameCount = 0;
};
Am I looking at the wrong place to setup my own variables?
Thanks for any help in advance!