Scripts / Activation Keys

Author
Message
vrg
9
Years of Service
User Offline
Joined: 27th Aug 2014
Location: Netherlands
Posted: 29th Jun 2015 12:14
Is it possible to use a different key than the E key to activate an action in the game? I wanted to use "g_KeyPressO" in my script so I also put in Global.LUA "g_KeyPressO = 0" but the O key is not working.
!nullptr
Forum Support
9
Years of Service
User Offline
Joined: 27th Mar 2015
Location: Australia
Posted: 29th Jun 2015 12:22
try

if GetInKey() == "O" then
etc...
end

FYI: "E" is considered the industry standard UI for pickup and most people expect it .
AKA SisterMatic (Steam)
Development/ Gaming Rigs
Sys 1: i7-4770 (3.5)/16Gb/128 SSD/3Tb/970gtx/2 x 23, 1 x 27 LCD - Sys 2: i7/8Gb/670gtx/1.5Tb/1 x 23 LCD - Sys 3: Amd Quad/8Gb/645gtx/1Tb/30" LCD
PM
3com
9
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 29th Jun 2015 14:37
Quote: "FYI: "E" is considered the industry standard UI for pickup and most people expect it"

And is safest, sometimes I want to use say "Q", but who say me than GG do not decide use it for another action.

Would be nice TGC using only middle mouse button for change weapons, and relax numbers, say, for password one.

3com
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 8.1 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics

PM

Login to post a reply

Server time is: 2024-05-09 02:27:05
Your offset time is: 2024-05-09 02:27:05