Post Reply 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Detect key pressed
2017-09-11, 06:17 PM
Post: #1
Detect key pressed
My Lua scripts have evolved well, but now i find my self needing to give user input to them. Here are some examples.

Key to detonate already launched missiles if target is standing down (to allow capture).
Keys to change desired altitude on my air ship. I have a script that controls all my thrusters and maintains altitude relative to water or terrain, i want a key to change that value.

So, how do i detect that a key is pressed?
Please only LUA related solutions.
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
Detect key pressed - jcordeiro - 2017-09-11 06:17 PM
RE: Detect key pressed - ZerothAngel - 2017-09-12, 05:27 AM

Forum Jump:

User(s) browsing this thread: 1 Guest(s)