Lord Vectra

Master Eventer
Veteran
Joined
Dec 6, 2015
Messages
245
Reaction score
352
First Language
English
Primarily Uses
RMVXA
So I'm using Blizzard's Stat Distribution script (Link), and it's divided into 4 different windows. I'm trying to get Window_DistributionStatus to refresh when Window_Distribution refreshes.

I'm close to figuring it out, but now I'm stuck. What I figured out so far:
To recall a window, I can simply do [scene name].new(@actor) for this script. I tried making it so I call the status every time I add a point to a stat, but I then realized that is just keeps stacking different iterations of the status on top of each other aka calling it again doesn't replace whatever is already there.

Let's say I had it where when I increase my Dex by 3, Evasion increases by 1. If I just simply recall Status, it'll stack, so if I increase my DEX by 15 from 3, I will see a 1, 2, 3, 4, 5, and 6 stacked on top of each other, and I don't know how to use self.contents.clear to clear the contents of one window from another, and I can't seem to use dispose without having to call another instance of the window first (and that dispose just disposes the one I made and not the one already there).

I know Scene_Points is where the first status window is actually called. However, I can't NOT have it appear until you start making changes to your stats because it feels and looks clunky. I tried just recalling Scene_Points, but that resets everything unless you finalized it which, if I had it refresh when you click finish, it defeats the purpose.

The purpose of me doing this is so you can see how much other stats are increased.
 

kyonides

Reforged is laughable
Veteran
Joined
Nov 17, 2019
Messages
402
Reaction score
157
First Language
English
Primarily Uses
RMXP
Usually you only need to call the refresh method of any given window in the corresponding update method of the scene, i.e. update_stat or update_status, etc.

Since all involved windows should read the same set of variables every time they refresh their data, no overlapping numbers should ever be displayed on screen.
 

Lord Vectra

Master Eventer
Veteran
Joined
Dec 6, 2015
Messages
245
Reaction score
352
First Language
English
Primarily Uses
RMVXA
Usually you only need to call the refresh method of any given window in the corresponding update method of the scene, i.e. update_stat or update_status, etc.

Since all involved windows should read the same set of variables every time they refresh their data, no overlapping numbers should ever be displayed on screen.
Thank you! I got it! Learn something new every day.
 

Latest Profile Posts

Been playing through Skies of Arcadia again, and it really makes me wanna see someone try to implement how ship battles were done in the game into RPG Maker (or really just in general).
split.png
split view of both versions of the pocket city you traverse through. there's differences like areas only being accessible in one version of Autumn Bay. or events that only happen in one or the other.
theortically if there were a developer who spied on people's game playthroughs and changed things in real time to make it harder for them, what might be said game developer's motivation?
Hi everyone! Enjoying this nice long weekend. How are you all doing? :)
I just successfully tested having events check if specific actors are in a particular party slot and then changing image to match. This will let me make scenes take into account who is in the party at the time and arrange them accordingly - this is important since I'll have extra actors beyond current party. The script used is the same from MV and is compatible with my current core plugin setup in MZ. Thank goodness.

Forum statistics

Threads
118,433
Messages
1,115,925
Members
155,391
Latest member
dndrself
Top