I'm having trouble figuring out what sort of method is required for setting up a switch for VisuStella's <Command Show Switch> (<Command Hide Switch> would work too).
I've tried Googling it and searching the forum and have found nothing.
I want to make the Attack option disappear if melee weapons aren't equipped, and I want to make the Guard option disappear if shields aren't equipped.
I'm using Galv's Auto Common Events plugin to run a common event that turns on a switch whenever the battle screen is loaded, one that runs a parallel common event that is *supposed* to check for weapon types — you may notice the screenshot has BattleManager._subject.isWtypeEquipped(x) which is probably wrong, but I've also tried user.isWtypeEquipped(x) and BattleManager.actor().isWtypeEquipped(x).
My reasoning for separating the parallel event so that it only runs on battle screen conditions is that my game is graphics intensive and I've noticed that even a single parallel event can bog it down.
I've tried Googling it and searching the forum and have found nothing.
I want to make the Attack option disappear if melee weapons aren't equipped, and I want to make the Guard option disappear if shields aren't equipped.
I'm using Galv's Auto Common Events plugin to run a common event that turns on a switch whenever the battle screen is loaded, one that runs a parallel common event that is *supposed* to check for weapon types — you may notice the screenshot has BattleManager._subject.isWtypeEquipped(x) which is probably wrong, but I've also tried user.isWtypeEquipped(x) and BattleManager.actor().isWtypeEquipped(x).
My reasoning for separating the parallel event so that it only runs on battle screen conditions is that my game is graphics intensive and I've noticed that even a single parallel event can bog it down.