Help with your scripting

Key Events

Key Events

Postby PaRaDoXoS » 10 Apr 2016, 10:57

Hey, I just played around a bit with Lua and found something weird:

The Event triggers for every key. BUT: I can only identify the keys [shift,0..9,a..z]. The NumPad-Keys are the same as the number-keys above the letters. I can't even get Ctrl, #, Tab, ^, Alt of the F-Keys. How can I access those keys?
PhenomII 2,8GHz, GeForce9600GT, 16GB DDR3, SSD, old but still works
User avatar
PaRaDoXoS
Skyline Apprentice
 
Posts: 29
Joined: 17 Mar 2016, 07:54
Location: Germany

Re: Key Events

Postby StarFire » 10 Apr 2016, 18:03

Not sure if these are passed through to the key map?
Just looked and there are settings for these but not editor side. If they are needed for a project we can add them in ;)
Dream the Journey, Live the Experience!
User avatar
StarFire
Skyline Founder
Skyline Founder
 
Posts: 1678
Joined: 03 Jan 2012, 18:50
Location: UK
Skill: Great creative
Skill: Programmer
Skill: 3D Modeller
Skill: 2D Artist
Skill: Level Designer

Re: Key Events

Postby PaRaDoXoS » 10 Apr 2016, 19:35

not needed for a project.
just tried key "#" while exploring the api an nothing happened. So I added Debug-Messages and figured this out -> posted here because I found it weird.
PhenomII 2,8GHz, GeForce9600GT, 16GB DDR3, SSD, old but still works
User avatar
PaRaDoXoS
Skyline Apprentice
 
Posts: 29
Joined: 17 Mar 2016, 07:54
Location: Germany

Re: Key Events

Postby SolarPortal » 10 Apr 2016, 19:50

Thanks! Keep it up :)
Skyline Game Engine - Lead Dev.
Please provide as much info as possible when asking for help.


Specs: OS: Win 10 64bit, CPU: Intel i7 4770 3.4ghz x 4 core(8 threads), GPU: Nvidia GTX 1060 6GB, Ram: 16gig DDR3, Windows on 250gb Samsung Evo 860

Twitter: @SolarPortal
Instagram: @SolarPortal
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: Key Events

Postby CreativeOcclusion » 13 Apr 2016, 18:33

Good find...Keep up the great work...
Thanks, CreativeOcclusion
User avatar
CreativeOcclusion
Skyline Warrior
 
Posts: 366
Joined: 22 Jun 2015, 19:34
Location: Texas


Return to Lua Scripting

Who is online

Users browsing this forum: No registered users and 9 guests

cron