[1.10] Mouse Cursor Position

This forum is for discussions on how to edit what can not be edited through the txt files, needless to say this isn't about battle net hacking.

Moderators: Nefarius, Havvoric

P.J.
Posts: 66
Joined: Wed Jan 13, 2010 7:47 pm
Russia

[1.10] Mouse Cursor Position

Post by P.J. » Thu May 03, 2018 11:26 pm

Hello

There is any function which returns mouse cursor position in D2? I'm working to add some hover boxes in stat screen (like pop ups when you move cursor on defence). For this i need to know cursor position. Or only way to get it to use GetCursorPos C function or something in this way?

Thanks

User avatar
misiek1294
Junior Member
Paladin
Posts: 168
Joined: Mon Dec 29, 2014 3:58 pm
Poland

Re: [1.10] Mouse Cursor Position

Post by misiek1294 » Fri May 04, 2018 2:09 pm

There are 2 variables on d2client for mousex and mousex , currently i'm not on home so cant help more.

User avatar
szumigajowy
Senior Moderator
Serf
Posts: 4
Joined: Mon Jul 17, 2017 5:28 pm
Poland

Re: [1.10] Mouse Cursor Position

Post by szumigajowy » Fri May 04, 2018 2:20 pm

GetMouseXCoord - D2client.0xB7BC0//6FB57BC0
GetMouseYCoord - D2client.0xB7BD0//6FB57BD0

Return to “Code Editing”