SRL Archive - Scripting Help

Mouse Scroll Wheel


EyYo96

2014-09-06 13:19:27

Hi everyone :) I am looking for a way to scroll + and - with the mouse scroll wheel.

Thanks in advance.

Brandon

2014-09-06 14:03:58

From: EyYo96
Hi everyone :) I am looking for a way to scroll + and - with the mouse scroll wheel.

Thanks in advance.



Procedure ScrollMouse(X, Y, Clicks: Integer);

or

Procedure SmartScrollMouse(target: PtrUInt; x, y, lines: integer);

is the signature of the function(s) you're looking for..

EyYo96

2014-09-06 14:38:25

OK i'll try that thanks, but I have another Problem.

After i open the worldmap the selected client gets fked up and you have to re-select it.

Is there any way to fix this?