Bully-Board

Bully Modding Section => Requests => Topic started by: Enderman on January 23, 2015, 04:31:19 AM

Title: Another button
Post by: Enderman on January 23, 2015, 04:31:19 AM
How to make another button like r or h or m or something like that?  :blank:
Title: Re: Another button
Post by: WhenLifeGivesYouLemons on January 23, 2015, 05:16:26 AM
(http://1.bp.blogspot.com/-LN8e6_0t2NE/UZMi5OMc-3I/AAAAAAAAHnY/dSPwaMbwHQ4/s640/Mike+Woodson+Face.gif)

what?

I don't understand.
Title: Re: Another button
Post by: AfterLife on January 23, 2015, 06:26:45 AM
(http://1.bp.blogspot.com/-LN8e6_0t2NE/UZMi5OMc-3I/AAAAAAAAHnY/dSPwaMbwHQ4/s640/Mike+Woodson+Face.gif)

what?

I don't understand.
He means well , like other than those buttons , bind it to even more buttons.
Title: Re: Another button
Post by: SWEGTA on January 23, 2015, 07:21:45 AM
Explain or the thread dies.
*cocks gun*
Title: Re: Another button
Post by: WhenLifeGivesYouLemons on January 23, 2015, 11:56:27 AM
So... if I understood correctly like a brand new button like K or P to bind too? I dont believe its possible without some scripthook that allows for full key functions.
Title: Re: Another button
Post by: Unknownsoldier on January 23, 2015, 10:54:00 PM
You can use a second controller.
Title: Re: Another button
Post by: Enderman on January 24, 2015, 07:03:30 PM
but i don't have xbox 360 controller
Title: Re: Another button
Post by: DaBOSS54320 on January 24, 2015, 08:12:45 PM
Well, as explained here (http://www.bully-board.com/index.php?topic=22120.0), buttons are not binded to specific keys like 'x' or 'h' or 'space' or 'shift' or whatever. So for what you want... you'd have to make a whole new action thing, which definitely can't be done in LUA.

But maybe there is a function to see if a certain key is pressed, rather than a game button. Like IsKeyPressed instead of IsButtonPressed (That's not a real function but just for example of what it could maybe be). Hooking into the game could work too, as then you could use whatever code you wanted, not just Bully LUA, to get what keys are pressed. But don't ask how hooking works.. because it's a big explanation and I can't teach you. Here's a wikipedia page if you really wanna give it a shot: Hooking (http://en.wikipedia.org/wiki/Hooking).
Title: Re: Another button
Post by: WhenLifeGivesYouLemons on January 25, 2015, 02:24:30 AM
Ya basically. Like how Gta IV ScriptHooks works to work with all keys.