eLunateJoin Date: 2014-07-29 Post Count: 13268 |
So, this is the thing I've been using to handle my keybinds and input stuff. It's ugly, I'm aware, but it's functional. I'm hoping you'll appreciate having this, since I've jokingly used the methods from it in most input based help posts.
http://www.roblox.com/Valkyrie-Binds-Manager-item?id=235385848
BindsManager:
(Methods)
KeyBind BindsManager:BindInputDown(string Key, function(InputData iData) Bind)
* Binds the InputDown for Key (Includes Mouse input) to Bind
KeyBind BindsManager:BindInputDown(string Key, function(InputData iData) Bind)
* Binds the InputUp for Key (Includes Mouse input) to Bind
void BindsManager:Alias(string AliasName, string InputName)
* Aliases InputName to AliasName. Some are already set, such as Mouse1
(Properties)
proxy BindsManager.Keys
* Userdata proxy that returns the InputData for the input at the index
KeyBind:
(Methods)
void KeyBind:disconnect()
* Stops the bind from firing
void KeyBind:changeKey(string newKey)
* Changes the input that the bind fires on (Experimental; untested)
InputData:
(Properties)
bool InputData.Down
* True if the input is down, false otherwise. |
|
eLunateJoin Date: 2014-07-29 Post Count: 13268 |
Compulsory bump that every post needs before it can take off because idk |
|
|
eLunateJoin Date: 2014-07-29 Post Count: 13268 |
I'm hoping that it will be really helpful for people, so that they don't have to be worrying about monitoring or managing their UIS stuff because it already monitors it centrally and automatically.
BindsManager:BindInputDown('V', function(iData)
local ctrl = BindsManager.Keys.Ctrl
if ctrl.Down then
print('Paste')
wait(1)
while iData.Down and BindsManager.Keys.Ctrl.Down do
print('Paste spam');
wait(0.08);
end
end
end)
Yes. |
|
TimeTicksJoin Date: 2011-04-27 Post Count: 27115 |
Yes. Useful for my game. |
|
LecturousJoin Date: 2013-08-17 Post Count: 1096 |
You are legendary.
~ Post by Lecturous ~ |
|
eLunateJoin Date: 2014-07-29 Post Count: 13268 |
Yeeee |
|
|
I love the work you appear to be making, but to be honest, I tl;dr at almost all of them. (This is Jarod btw) |
|
eLunateJoin Date: 2014-07-29 Post Count: 13268 |
"Appear to be making"
Thanks. |
|
|
is that rly jarod?
and good job lunate |
|
chimmihcJoin Date: 2014-09-01 Post Count: 17143 |
Until I see facts of progress I am assuming this is all lies and fake.
Nice fake words.
I script -~ chimmihc |
|
|
Yes, that's really me. I just haven't read almost anything, but glancing at the lists shows progress. |
|
eLunateJoin Date: 2014-07-29 Post Count: 13268 |
It's just the Binds Manager module that I developed for Valkyrie and figured I should release for public use. The list is just an API reference for it I guess |
|
|
I'm just saying I don't read your long posts. I understand what it is. I guess I should start reading them. Especially since this one was nice and short. |
|
eLunateJoin Date: 2014-07-29 Post Count: 13268 |
You probably should
So, what do you people think? |
|
|
eLunateJoin Date: 2014-07-29 Post Count: 13268 |
About my binds manager. |
|
|
Haven't got time to look at it. But nice. When can I get Valkyrie Beta >:D
Total Posts: 404 ---------- Not Found |
|
eLunateJoin Date: 2014-07-29 Post Count: 13268 |
When Valkyrie Beta is a thing. Right now it's like, more alpha than alpha. |
|
|
When can I get the Valkyrie Alpha >:D
Total Posts: 404 ---------- Not Found |
|
eLunateJoin Date: 2014-07-29 Post Count: 13268 |
Maybe possibly when it's in an alpha stage.
You realise that it's going to really mess with your development/testing process because you have to require() it from a game server? |
|
|
I don't mind
Total Posts: 404 ---------- Not Found |
|
eLunateJoin Date: 2014-07-29 Post Count: 13268 |
I think you will, eventually. |
|
|
Well when I can use it. I'll see :)
Total Posts: 404 ---------- Not Found |
|
TripaneJoin Date: 2011-06-03 Post Count: 11432 |
normally I would have posted a hollow "nice" or "good job" but I'm still stuck on this stupid weld script that's pretty damn easy, but no one will help me with it |
|