So far we have mouse scrollwheel compatibility for scrolling through weapon slots and zooming, but I think that it would be useful for other thinks like weapon settings. For instance, there's the swiss army gun, which carries a variety of tools and weapons. Everything is triggered by commands, a really inneficient method compared to the possibilities of scroll wheel. For instance, if we were allowed to set these properties in script, we could use left click to go into the SAG mode changer, which would allow you to cycle through everything by scrolling. Then, use right click to exit scroll mode.
Other useful applications could include adjusting a vehicle's height similar to height control, changing gears in vehicles, adjusting weapon fire rates, damage, muzzle velocity, explosion radius, explosion damage and more.
The best application I could see is through having events that have libraries from which you can choose an action. The most similar parallel is a list of varlinks, except that it would display a menu, and you would scroll through options.
For instance, there would be events anywhere on the server that have specific targets, and an area to open this menu. Suppose I define the menu options, "Heal", "Kill" and "Respawn" on various bricks around the server.
# | √ | onMinigameReset | Player | defineMenuVariable | Player | §¹ | §² | §³ |
Event No | Enabled/ Disabled | Input | Target* | Output | Parameter 1** | Parameter 2*** | Parameter 3**** |
* | Self, Player, Client, NAMED BRICK, Minigame |
** | MENU ITEM |
*** | Unrestricted, BL_ID Allow, BL_ID Deny, Admin, Build Trust, Full Trust, Owner Only, Distance |
**** | (Information Extension regarding Parameter 3) |
You would make three of these lines, defining Heal, Kill and Respawn.
When you define them, it should add them to a list. There could also be color adjustment options for menu items. After this, you would open a menu directed towards targets in which the menu items are stored.
These could be other event line examples:
OnActivate >> Self >> MenuOpen
OnMenuOpened >> Self >> playSound ""
OnMenuClosed >> Client >> CenterPrint "" ""
OnMenuItemSelected >> Self >> ifMenuOption ""
OnMenuSelectionTrue >> Self >> MenuClose
OnMenuSelectionFalse >> Client >> CenterPrint ""
OnMenuItemAdd >> Self >> playSound ""
OnMenuItemSub >> Client >> ChatMsg ""
OnActivate >> Self >> MenuClear
OnMenuClear >> Minigame >> ChatMsgAll ""