I've got about 20 switches that I'd like set to the values of 20 other switches. For example, set switch 1 to the same value as switch 101, and switch 2 to the value of switch 102, etc. This is something I need to do pretty often, so I'd like to avoid running 20 conditional operations in a row, as that seem kind of expensive.
Is there a less intensive a script call for doing such a thing?
Thanks!
Could you give a little more context using why these switches work like this in your game? That might help us better understand. Because you could do a conditional to set two switches, but you could just use the same switch, too. Like if 1 is the same as 101, why not just use 1. That is why I ask for more context. lol
Actually, I had already figured it out but it wasn't working. I was using:
$gameSwitches.setValue(1, $gameSwitches.value(101));
which is correct, but doesn't work with Yanfly's plugin. So it's more of a plugin-specific problem. I'll have this thread closed and look into it from another angle. Thanks.