Loading...
 

PogamutUT2004


Key Stroke Capture

Hello,

I'm trying to make use of the KeyEvent class, because I hope to directly correlate human decisions about movement to the bot. However, I'm unclear how to implement it properly. I have tried to instantiate KeyEvent in my bot's main class and make sure it's on with SetSendKeys, but I'm not sure how to actual simulate a key press, if its possible without pressing the key yourself. Is this the best way to make use of the class?

Thanks,

Kat
Hi!

I'm not sure, but I think that KeyEvent can be only used in UnrealEngine2, Michal (knight) should know more I hope he will reply you soon (he is currently at Dagstuhl conference).

Best,
Jakub
Nevertheless, if you need KeyEvent in UT2004 it would be probably very easy to add the support there as well (if not already there).

Cheers!
Jakub
Jakub,

How would I begin to add such support?

Thanks a lot,

Kat
 

News

News RSS RSS feed for News link



Pogamut

Quarterly RSS RSS feed for quarterly reports

Acknowledgement

This work is supported by GA UK 1053/2007/A-INF/MFF (2007-8), GA UK 351/2006/A-INF/MFF (2006-8), the Ministry of Education of the Czech Republic (grant MSM0021620838) (2008-9), by the Program "Information Society" under project 1ET100300517 (2006-9), and the project Integration of IT Tools into Education of Humanities (2006-8) and by the project CZ.2.17/3.1.00/31162, which are financed by the European Social Fund, the state budget of the Czech Republic, and by the budget of Municipal House Prague.