View Single Post
03/03/20, 10:29 AM   #1
ownedbynico
AddOn Author - Click to view addons
Join Date: Nov 2019
Posts: 9
Hook into OnMouseWheel

Hello,

im trying to hook into ZO_WorldMap_OnMouseWheel to detect if the user is zooming into the world map.

Code:
ZO_PreHook('ZO_WorldMap_OnMouseWheel',
function(self)
    d("scrolling")
end)
This is not working for whatever reason. I tried it with ZO_WorldMapZoomPlus_OnClicked and its working without a problem.
Does anyone have a idea why?

Last edited by ownedbynico : 03/03/20 at 10:57 AM.
  Reply With Quote