Is there a way to refresh the battle status window? I'm trying to change its height based on the number of current party members, but it doesn't refresh mid-battle when I change the value returned by Window_BattleStatus.prototype.numVisibleRows.
For sprites created like below, how do I update the image later after?
this._face = new Sprite(ImageManager.loadBHud("Face_" + this._battler._actorId));
While I'm looking for something different, that's actually helpful to know as well, CHKNRAVE. ☺️
I'm looking for a solution for updating sprites that are drawn in menus in general, maybe through:
this.drawPicturename('PicName', 0, 0);
Window_Name.prototype.drawPicturename = function(filename, x, y) {
var bitmap = ImageManager.loadPicture(filename);
this.contents.blt(bitmap, 0, 0, bitmap.width, bitmap.height, x, y);
};
Is something like Update and Refresh needed? How does that look like?
Where's the part of the MV engine that hard-codes the base stat of Luck to have a minimum of (positive) 1, and can I change the stat's minimum to negative 99 (or negative 999) without causing issues?
Is it better to buy the full version Alpha ABS plugin by Pheonix KageDesu or to subscribe to his Patreon and get it there?
I probably misused the "update" term.
How do I reflect changes to a window's sprite if, for example, a variable changes from 1 to 2 which determines which .png graphic to display:
if ($gameVariables.value(1) == 1) {
this.drawPicturename('PicNameA', 0, 0);
}
if ($gameVariables.value(1) >= 2) {
this.drawPicturename('PicNameB', 0, 0);
}
Window_Name.prototype.drawPicturename = function(filename, x, y) {
var bitmap = ImageManager.loadPicture(filename);
this.contents.blt(bitmap, 0, 0, bitmap.width, bitmap.height, x, y);
};
==============
I hope to update sprites depending on certain changes in battle even to like (this is an example):
if 2 enemies, draw picture of sun
if 1 enemy left after defeating other one, update the sun to picture of moon
Seems like when I draw the initial picture based on condition, it doesn't change once it meets another criteria.
Thanks
I have been trying for a while with no avail and was wondering if there was a way to change a actors Max hp either by using the mhp variable or another way
In MV in DataManager.saveGameWithoutRescue there is warning if the length of the save data string is equal to or exceeds 200.000 Characters. Suppose you have so many plugins installed, which all add something to the save data, so that it will actually happen, would this be problematic or can you ignore the warning if you know it is okay? Does the warning just exist to inform the game creators that there may be something wrong with their project or is there really a limit to the save file size? I've tested it on the console by adding a string of 400.000 Random Characters to $gamePlayer and it was saved and loaded correctly. So I started to wonder.
I've seen this one but don't remember the syntax (as usual <__<), what's the script line to add a buff to a character?