Hi, I’ve a problem that I can’t really address while testing the 1.31 on Warcraft 3 PTR , while using Lua (I think vJASS wouldn’t make any difference). Basically this code:
As well as this (which are pratically the same, but just to check every possibility):
(I call the function inside a GUI trigger at Map initialization one per map run)
Work fine unless I press W and click the left mouse at roughly the same time, (enough to be noticabile) in which case it ignores the BlzzTriggerRegisterPlayerKeyEvent and only outputs “click” in both codes. I don’t know if it supposed to be like that becouse of the difference in input lag between mouse and keyboard or what. Even if that was the case, wouldn’t that mean only that ‘‘w’’ wuold be displayed slighlty after ‘‘click’’?
So my question is: is there a workaround for that? Is that a bug that could be fixed or will be 100% like this even in live 1.31?
Any thoughts?
Thanks for your time.