- Joined
- Jun 22, 2016
- Messages
- 26
- Reaction score
- 2
- First Language
- English
- Primarily Uses
- RMMV
OK.. I'm exasperated & just burnt out. I've checked dozens of existing JS, forums, & Google searches, with nothing remotely close to what I'm looking for (how in the **** can something so simple be such a pain in the **** to find??).
All I'm trying to do is add a "switch check / condition" < e.g. if ($gameSwitches.value[x] === true) > to my plugin; where the switch must be active to draw a custom window on the screen. I've freakin' tried putting it in every place imaginable (before the main function, in the scene map, before the 'drawwindow' initializes, etc.), & I can't get it to work properly. I've managed to get the plugin to load without error a few times (placing the switch check where it makes logical sense), but when I try activating the switch ingame, I get an error. Any thoughts?
All I'm trying to do is add a "switch check / condition" < e.g. if ($gameSwitches.value[x] === true) > to my plugin; where the switch must be active to draw a custom window on the screen. I've freakin' tried putting it in every place imaginable (before the main function, in the scene map, before the 'drawwindow' initializes, etc.), & I can't get it to work properly. I've managed to get the plugin to load without error a few times (placing the switch check where it makes logical sense), but when I try activating the switch ingame, I get an error. Any thoughts?


