Scripts / Get key

Author
Message
mnemonic
17
Years of Service
User Offline
Joined: 14th Jan 2007
Location: Sweden
Posted: 19th Jun 2014 16:57
Can we somehow read keyboard input in the current version? I'd like to write a script where whenever the user presses eg. the 'k' key I want to trigger an event.

Code would look similar to this:



www.memblockgames.com
AuShadow
GameGuru TGC Backer
10
Years of Service
User Offline
Joined: 2nd Dec 2013
Location: Australia
Posted: 19th Jun 2014 17:28
not yet no currently only E key

PC Specs: Windows 7 home 64-bit, Amd 7900 3gb DDR5 graphics, 8gb DDR3 Ram, Intel i7 3.4ghz

Feel free to visit and edit the public FPSCR resource wiki page: http://fpscrresource.wikispaces.com/home
tomjscott
User Banned
Posted: 15th Jul 2014 22:35
You can do this now if you get my Omega Core Lua extension module.

http://magiqueprod.wordpress.com/

System Specs: OS - Windows 7 Home Premium 64-bit SP1, CPU - AMD Phenom II X4 945, 3.0Ghz, RAM - 8Gb DDR3, GFX Card - 2048MB NVIDIA GeForce GT 640, FPSC-R Version - Beta 1.0071

Login to post a reply

Server time is: 2024-05-03 15:21:06
Your offset time is: 2024-05-03 15:21:06