wundertüte Posted September 24, 2011 Share Posted September 24, 2011 i have seen in an old help of SCAR 3.22 there was a mouse function: function GetCursorType: TCursor; Gets the current cursortype. is there currently any way to get the current cursor ? the reason is when i move my cursor over an enemy i get an user defined cursor in seafight and this would make it much easier to select a target. Quote Link to comment Share on other sites More sharing options...
FHannes Posted September 24, 2011 Share Posted September 24, 2011 Hmm, you use GetCursorType. Quote Link to comment Share on other sites More sharing options...
wundertüte Posted September 24, 2011 Author Share Posted September 24, 2011 i used this in the past when scripting with autoit in scar: program New; var a : TCursor; begin repeat a:=GetCursorType; writeln(a); until (false); end. result is always 0... Quote Link to comment Share on other sites More sharing options...
FHannes Posted September 24, 2011 Share Posted September 24, 2011 Odd, it seems to always return 0... That's a bug then, I'll fix that in 3.27.01 EDIT: The issue is already fixed for the 3.28 Alpha copy I'm uploading now. The following cursors are supported: crArrow, crIBeam, crHandPoint, crHourGlass, crCross, crUpArrow, crSizeNWSE, crSizeNESW, crSizeWE, crSizeNS, crSizeAll, crSize, crNo, crAppStart, crHelp Quote Link to comment Share on other sites More sharing options...