SphereCommunity
Gump appear on the cursor - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Gump appear on the cursor (/Thread-Gump-appear-on-the-cursor)



Gump appear on the cursor - Eduardo - 02-13-2017 11:55 PM

Hi guys,

on the location of the gump, there is any code for the gump to appear right on the cursor?

For example:

[DIALOG d_skill_buy]
0, 0 <- here
resizepic 0 0 3600 500 550
page 0
text 25 17 0032 0
text 40 37 1152 1

Thank you


RE: Gump appear on the cursor - Coruja - 02-14-2017 06:04 AM

unfortunately there's no way to make dialogs open directly at mouse cursor X,Y position

the only menu that opens at cursor position is the popup menu (FEATURE_AOS_POPUP on sphere.ini):
[Image: talk-300x256.jpg]