TL;DR: Need a way for a parallel common event to listen for scrollwheel input so I can adjust image position accordingly.
Trying to keep this short and to the point.
I'm using 2 plugins to make my menu (picture menu). VisuStella's Picture Choices & Message Core plugins. I'm using the message core plugin to change the 'choice window' to display as 3 columns and 1 row. Using Picture Choices plugin I hide that window so it's not a problem.
Now for the menu layout. It is displaying 3 lists of items in their own column. At most only 15 items are displayed in each column, but the list itself can contain 30-50 items.
The choice window by default in this setting lists objects as follows (I know it starts at 0): 1->2->3 | 4->5->6 | so on and so forth for each row. When pressing the down arrow or up arrow, it'll jump from 1->4->7->10, etc... which is great. But if I have 15 in each column, when you go to the bottom of one column: 1->...->43 and then press down again it'll instead push you to the right which is the bottom of the middle column if you started from the left.
Using this bit of code, well not exactly but similar to it:
I'm able to see what is the 'highlighted' choice, and change it via code if it's the last in column and they press down. In short for keyboards this works fine. Since I can also use this code to adjust where the pictures are and emulate scrolling via a keyboard.
But how can I do this when a player is using a mouse and scroll wheel. In fact the selecting of choices in my menu layout works best with a mouse, except for the lack of scrollwheel support.
Basically I need a bit of code a parallel common event can loop and listen for that is specifically for scroll input, so I can adjust the images accordingly along with the 'highlighted choice'.
P.S: I failed to keep it short. :/
Trying to keep this short and to the point.
I'm using 2 plugins to make my menu (picture menu). VisuStella's Picture Choices & Message Core plugins. I'm using the message core plugin to change the 'choice window' to display as 3 columns and 1 row. Using Picture Choices plugin I hide that window so it's not a problem.
Now for the menu layout. It is displaying 3 lists of items in their own column. At most only 15 items are displayed in each column, but the list itself can contain 30-50 items.
The choice window by default in this setting lists objects as follows (I know it starts at 0): 1->2->3 | 4->5->6 | so on and so forth for each row. When pressing the down arrow or up arrow, it'll jump from 1->4->7->10, etc... which is great. But if I have 15 in each column, when you go to the bottom of one column: 1->...->43 and then press down again it'll instead push you to the right which is the bottom of the middle column if you started from the left.
Using this bit of code, well not exactly but similar to it:
Code:
(SceneManager._scene._choiceListWindow._list[$gameVariables.value(2)].name === SceneManager._scene._choiceListWindow._list[SceneManager._scene._choiceListWindow._index].name)
But how can I do this when a player is using a mouse and scroll wheel. In fact the selecting of choices in my menu layout works best with a mouse, except for the lack of scrollwheel support.
Basically I need a bit of code a parallel common event can loop and listen for that is specifically for scroll input, so I can adjust the images accordingly along with the 'highlighted choice'.
P.S: I failed to keep it short. :/