Hi,
Just to give the setup, I'm using VXA, with the Yanfly core, battle and equip systems and the Yanfly CTB battle system addon and order gauge. Now, the order gauge has an option to show or hide depending on whether a switch is set.
What I want to be able to do is tie this switch to a piece of equipment. So, when the equipment is equipped the switch will turn on, when it's removed the switch will turn off. Ideally this would be immediate, still inside the Equip scene. I don't mind whether the equipment ID is hardcoded or detected by a notetag.
Just to be clear, it doesn't matter *who* the equipment is on, only whether or not it's on someone in the active party. It also does not need to have any different effects when more than one is equipped.
EDIT: Also, if a hacky solution is easier, the switch only actually matters in battle - so instead of trying to update on party changes, forced equipment changes, etc, it could just check at the start of battle and in the equip scene (equip scene can be called from in battle, but only for one character at a time).
Just to give the setup, I'm using VXA, with the Yanfly core, battle and equip systems and the Yanfly CTB battle system addon and order gauge. Now, the order gauge has an option to show or hide depending on whether a switch is set.
What I want to be able to do is tie this switch to a piece of equipment. So, when the equipment is equipped the switch will turn on, when it's removed the switch will turn off. Ideally this would be immediate, still inside the Equip scene. I don't mind whether the equipment ID is hardcoded or detected by a notetag.
Just to be clear, it doesn't matter *who* the equipment is on, only whether or not it's on someone in the active party. It also does not need to have any different effects when more than one is equipped.
EDIT: Also, if a hacky solution is easier, the switch only actually matters in battle - so instead of trying to update on party changes, forced equipment changes, etc, it could just check at the start of battle and in the equip scene (equip scene can be called from in battle, but only for one character at a time).