RMMZ How do you access a certain object on a scene?

ighrpg

Veteran
Veteran
Joined
Apr 8, 2021
Messages
53
Reaction score
3
First Language
English
Primarily Uses
RMMZ
Hello,

I am New to RPG Maker MZ,
I was wondering how do you reference a certain object or window or element on a certain scene instead of editing it globally?

For example : I am using a Plugin that has the ability to change the selection gradient, X & Y and background image within all menus in the game but I want to access only one menu on the Battle scene. Keeping the other set to the default .
 

Drakkonis

Veteran
Veteran
Joined
Mar 5, 2021
Messages
210
Reaction score
160
First Language
English
Primarily Uses
RMMZ
If it's one of the default scenes, follow the code. Each scene has a variable for each window it creates, so it can reference them later if they need to. In most cases all windows are self-sufficient, but references to them are maintained in each scene. I imagine most plugins with custom scenes would do the same, just in case.
 

Latest Threads

Latest Posts

Latest Profile Posts

Even though I'm not going for the first time in...ten years or something...ordered my Gen Con dice!
Will be focusing on map making today and adding locked chests :LZSsmile:Screenshot 2021-09-16 095316.png
It's hard to stay consistent for at least a week
new enemies for the game I'm working on...
Fricken hell! I dropped a bowl with mac and spam on my brothers floor, and was going to put leftover mac with whatever was still safe in there. It was only after I added the leftover mac that my brother told me he put floor noodles in there, now I wasted my planned dinner for tomorrow!

Forum statistics

Threads
115,106
Messages
1,087,250
Members
149,570
Latest member
bielg9
Top