Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 02-05-2014, 10:51 AM
100Zero100 100Zero100 is offline
Registered User
Join Date: Jul 2006
Posts: 31
100Zero100 is on a distinguished road
Quote:
Originally Posted by Tim_Rocks View Post
Why not just do this?
PHP Code:
function keyPressed(keycodekeyscancode) {
  
player.chat keycode ", " key ", " scancode;

In my proposed scenario, I'd want to build a full QWERTY keyboard on-screen WITHOUT the need for the player to press down all of the keys on their keyboard.

If you read my second post, I specifically complained that the keycode/key translation obtained from onKeyPressed() is not compatible with the keycode/key translation of getKeyCode()/keyName2()
__________________
Hi. I'm NaS!
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:48 PM.


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