Forum

> > CS2D > Scripts > Shift Action?
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Shift Action?

9 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Shift Action?

Rygna
User Off Offline

Zitieren
Hello!
here furty

and, how to make Shift Action?,
i mean if i Press Button Shift on my keyboard then make action.. , like Ninja life Lua scripts if press F then appear Menu skill.

Thanks.
Sorry for bad english

alt Re: Shift Action?

GeoB99
Moderator Off Offline

Zitieren
You can do that by binding the Shift key with a specific action like opening a menu from a Lua Script. However I am not 100% sure but it would be possible by binding it.

alt Re: Shift Action?

Talented Doge
User Off Offline

Zitieren
Google may help you. The library of CS2D contains NO keypress events. Instead you can use the hook cs2d lua hook move to detect shift pressing.

Oh yea I have to suggest adding keypress hook.

alt Re: Shift Action?

Rygna
User Off Offline

Zitieren
oh.. thank you but, how to make with Space ? if you know? pls show the example or give me the link file for download it
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht