Multiple events accessing the same variable library?

Hi,

I'm trying to think of a way to have multiple objects set to multiple variables but have the variables mean the same thing to each object and have the variables change through out the course of the game.

ex:

I have 3 objects
1 set to variables A=1 B=2
2 set to variables A=2 B=3
3 set to variables A=1 B=1

So if A = 1 the light switch is on and B = the color. I want to change the value for only that object and not all the A variables. I want to make this scaleable and I would like it to do approx 50 objects and with a dozen variables a piece. I would also like to change these variables from a menu. I was going to just pop in the code to each object but it seems rather combersome that way.
Please give a better explanation of what you want to do instead of how you want to do it - all you described so far is the how (by using variables) not what the effect inside the game should be.

Because very often when I read such description, the real problem was that the person asking for help had driven him/herself in a dead end by focusing on the how and ignoring half a dozen alternatives.

And most likely your topic isn't about a game mechanic either (because you didn't describe the mechanic in the game yet), but we need more info to decide where it would have to be moved to.
So I would like for about 50 objects to have their own equipment setup and have different contributions to a common resource pool. So I was trying to think of a way i can do this and still be able to auto-resolve battles by just giving them a combat effectiveness rating based on their equipment and carry other equipment that can augment the contribution to the common resource pool.
is their a self variable like self switch?
This is definitely not a topic for Game Mechanics Design. All "How do I...?" questions belong in the Support forum for the engine you are using.

Please post stating which engine it is. You might want to put that into the info under your avatar as well so that people know without having to ask.
@Coffee_Zombie
you still haven't answered my question - you still only described how you want to do something, not what that something is - what is that resource pool intended to be used for? what are those 50 objects you're talking about? what has weverything to do with battles?

You need to give us a complete description if you really want some help - we can't read your mind
Sorry I thought I was being clear. I'm trying to create a resource sim game where you control points across the map that are first won then controlled by the player (50 objects). I then want to use those control points to be able to defend (not attack) themselves from random events by either auto resolving or player control. The control points would also contribute to a common resource pool that would be used to upgrade the player as well as the control points. I would like the control points to be able to hold about 10 equipment values and resource contribution pool value. The pool contribution would be on a 30 second interval.

I'm using RMMV. I have some basic scripting knowledge in JS but not much. I have been looking in the FAQ but can not find where I set my primary program.
Moved to: RPGMaker MV
@Andar ?
Yes, I understand what you want - but please keep in mind that we all are volunteers and help in our free time for free instead of working on our own projects - that is also why this forum's rules require you to wait 72 hours before bumping.

What you want will require a lot of eventing assisted by plugins. The problem here is that most of it will have to be evented (difficult to do those mechanics by plugin), but the assistance of plugins in a few parts is critical.

What you need are self-variables for events, and I don't know if such a plugin has been written yet (there was a full self-data-suite for Ace, and I know that some plugins have been written for part of that, but you have to check the advanced event plugins for yourself if one does that.

Original thread: https://forums.rpgmakerweb.com/threads/multiple-events-accessing-the-same-variable-library.81912/