Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   New Scripting Engine (GS2) (https://forums.graalonline.com/forums/forumdisplay.php?f=153)
-   -   "the key you're using for Sword is"@... (https://forums.graalonline.com/forums/showthread.php?t=85047)

Tyhm 04-07-2009 11:53 PM

"the key you're using for Sword is"@...
 
Isn't there a keycode or something that returns what key the player has mapped for what default function? I'd like to display "Press S to reload!", where "S" is replaced with whatever they've mapped in Options when they decided Graal needed to be a WASD game...;-D

Loriel 04-08-2009 12:42 PM

I fully endorse this product and/or service.

I am pretty sure it was #k(i) in old gscript. Is it keyname(index) in gs2? keyname(4) for S?

Tyhm 04-08-2009 01:39 PM

If that's what it used to be, it seems that's what it is. 'course Insomnia's down right now (ironically) so I can't test it.
Funny how easy it is to find once you know what you're looking for; I had the page up that lists #k() is now keyname(), but of course it doesn't say what #k did, and I don't bloody remember, I (infamously - the whistle) never used it...


All times are GMT +2. The time now is 07:51 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.