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 Profile Posts

I might not participate in the Boss Battle contest after all... I have more important things to do, like Wishful Wanda. And of course the Dark Deception spinoff I plan to pitch, Demon Slayer.
Changed my avatar, goodbye Alan Sugar, hello George Carlin (one of my favorite human beings ever)
If you still don't subscribe our Polish channel please consider it :)
1.png
Who wants to see my review of the worst star wars movie? This movie has all the excitement of being on Jury Duty of the most boring case ever about trade negotiations.
A lot to learn to make a game. Can I handle it?

Forum statistics

Threads
115,171
Messages
1,087,803
Members
149,721
Latest member
frankdontrithep61
Top