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 Threads

Latest Posts

Latest Profile Posts

I have never felt so attacked by a tree before :LZSlol: it took 10++ hours to make but at least it looks pretty LOL

Untitled-1.png
now seems like the worst time for me to need a better computer with how much stuff is costing. that and I don't thing there's much else I can do to make MV run any better with what I have.
Sigh... to have some variety in this weather. More than just sun and rain and wind and thunder.
In the meantime, I've discovered that I'm slowly becoming fatigued from the many sleepless nights my neighbors cause. Or at least their dogs. Always barking at something.
I might need a day to just sleep and recharge.
After the initial success with one event, I set up four different events on the same map to detect who is in which slot in my current party, and fortunately it managed to work as intended, with the events changing image to match the party members even as I swapped their positions around in formation. This will be a great tool for immersive scene design.

Forum statistics

Threads
118,452
Messages
1,116,083
Members
155,428
Latest member
jlauza
Top