![]() |
Multi Keys
Ok this is getting no where. I have tired everything to get multi keys to work fr simple &&'s to setting var's when a key is held down to deleting it when the key is released.. Anyone wanna clue me in to this?
|
Like if you are holding the V key and N key at the same time or something.
Kai, you said he might be a better scripter than me? (laughs) Anyways, you can simply run a for loop and have an array (length 26 for just the regular alphabet). Then if it's pressed, then make it 1, if not, 0. Then just do your testing. |
Quote:
|
I don't know what you mean with 'multi keys',is that like press ctrl+d?so...
NPC Code: |
NPC Code: |
Quote:
|
The way I stated was not to find a specific combination of keys. I thought hemeant just getting any keys pressed. Oh nevermind.
|
Quote:
|
Quote:
Anyways, it was 4am, what more could you expect? |
Quote:
|
| All times are GMT +2. The time now is 01:33 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.