Page 1 of 1

Macro no-recoil wont work in-game Rainbow Six Siege

Posted: 21 Aug 2017, 08:41
by zbot_z
This code works outside the game, even works when at the GAME Menu screen. But as soon as the game starts mouse events wont respond, ToolTip and else works. Im using Border-less mode, I have even tried to compile the script to EXE and run it as a different user, still no fix.

Im new the AHK scripting. Kindly help.

Code: Select all

recoil() {
	global _auto
	if _auto {
		while GetKeyState("LButton") {
			MouseXY(0,3)
			sleep 30
		}
	}
}
 
mouseXY(x,y) {
	DllCall("mouse_event",uint,1,int,x,int,y,uint,0,int,0)
}