This is a forum post for help on variables.

I haven't been active here for quite some time, including with the RPGMaker VX Ace Software.

I have a possible idea that could work using variables. However, I don't know how it would work. I also haven't found a forum with this specific idea already considered unless there is one I haven't seen yet.

The idea:
Say you are the PC and alone with no weapons and armour. How can I make that a variable for an event to react to for one result?

This would then need to be accounted for for another variable, which would have the event reacting to the PC when they have weapons and armour.
The same principle would have to apply when the PC has weapons and armour with a party member who also has weapons and armour, and again if the PC does not have weapons and armour but has a party member who does.

How would this be depicted with variables? I'm currently unsure. Do I need numbers, or can the variables be named like 'PC alone'; 'PC with protection'; 'PC with a party member'; 'PC without protection'; etc? And if they are named, do they act accordingly without the use of numbers?
Perhaps a script call checking how many actors are fully or partially equipped at the moment the party triggers an NPC event...
@kyonides I'm not exactly using a script call for it. I was just wondering if the idea was a possibility with variables, is all. The event works fine using Switches, it just clutters the event page a little. I just considered maybe variables would be less demanding than Switches.

On top of that, calling up a common event might also be a possibility, but I'm not exactly very good at understanding how that works. It's been a long time since I continued making this game. It is just hard work and challenging because I'm just one person, and I want to have player choice in a world that might be too huge for my own good, but oh well.

Original thread: https://forums.rpgmakerweb.com/threads/this-is-a-forum-post-for-help-on-variables.175053/