For the screen UI (not the world/map), does the mouse and dialog use a different system, xy values, etc.? I'm guessing something to do with screen resolutions changes the dialog positions.
I tried make a script (code below) for putting a dialog where the mouse clicks but it doesn't seem to work and I can't find any correlation yet, still testing through.
Although I don't know exactly whats wrong I used a work around. I multiplied the EventMouseClickedPosXUI() and EventMouseClickedPosYUI() by "1.66" which seems to work ok. This may not work for different resolutions, I haven't tested yet and probably won't for a while. I'm doing other things.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
For the screen UI (not the world/map), does the mouse and dialog use a different system, xy values, etc.? I'm guessing something to do with screen resolutions changes the dialog positions.
I tried make a script (code below) for putting a dialog where the mouse clicks but it doesn't seem to work and I can't find any correlation yet, still testing through.
I have to go to work now, so I'll check here tomorrow morning.
Although I don't know exactly whats wrong I used a work around. I multiplied the EventMouseClickedPosXUI() and EventMouseClickedPosYUI() by "1.66" which seems to work ok. This may not work for different resolutions, I haven't tested yet and probably won't for a while. I'm doing other things.