Jump to content

Recommended Posts

Bonjour serrait-il possible d'agrandir les possibilités de ce scripts Lua :

On ‎19‎/‎01‎/‎2016 at 5:52 PM, Droidz said:

Cast spell if the shift/ctrl/alt key is currently depressed

LuaScript:

For Shift:


isKeyCurrentlyDown = IsShiftKeyDown();

For Ctrl:


isKeyCurrentlyDown = IsControlKeyDown();

For Alt:


isKeyCurrentlyDown = IsAltKeyDown();

Research:


true

Var:


isKeyCurrentlyDown

 

Avec des raccourci clavier ?

Lorsque j'utilise /run print(GetMouseFocus():GetName()) le sort en question se trouve au button " BT4Button16" avec le raccourci clavier " a "

Lorsque je crée isKeyCurrentlyDown = IsBT4Button16KeyDown();

la commande ne fonctionne pas. Une idée ?

Link to comment
https://wrobot.eu/forums/topic/5477-press-key/
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...