ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   General Authoring Discussion (https://www.esoui.com/forums/forumdisplay.php?f=174)
-   -   Hook into OnMouseWheel (https://www.esoui.com/forums/showthread.php?t=9014)

ownedbynico 03/03/20 10:29 AM

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?

ownedbynico 03/03/20 11:30 AM

It's working now. Use ZO_WorldMap_MouseWheel instead.
This can be closed.


All times are GMT -6. The time now is 02:08 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI