Forum

> > CS2D > Scripts > Shift Action?
Forums overviewCS2D overview Scripts overviewLog in to reply

English Shift Action?

9 replies
To the start Previous 1 Next To the start

old Shift Action?

Rygna
User Off Offline

Quote
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

old Re: Shift Action?

GeoB99
Moderator Off Offline

Quote
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.

old Re: Shift Action?

Talented Doge
User Off Offline

Quote
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.

old Re: Shift Action?

Rygna
User Off Offline

Quote
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
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview