I am looking for a way to cycle through a list with the mouse wheel while holding a key.
All I managed to do right now is zoom the camera...
I wonder if this is even possible without using some hack like placing a Textfield over the whole screen?
Lua Code:
local function StartAction()
SetGameCameraUIMode(true)
GuiRoot:SetHandler("OnMouseWheel", function(control, delta, ctrl, alt, shift, command)
d("wheel")
end)
end
local function EndAction()
SetGameCameraUIMode(false)
GuiRoot:SetHandler("OnMouseWheel", nil)
end