Bully-Board

Bully Modding Section => Script Modding => LUA Scripting Help => Topic started by: embas10 on May 03, 2014, 08:43:00 AM

Title: Give Lua More Button/Set Button When We need?
Post by: embas10 on May 03, 2014, 08:43:00 AM
i has wanted to now how to do this,because i want to mix all my action node! because My action node code to many,! i can't insert all my action node to button!, because the button has many i using! i ask my self to set some action node when i chose blaa blaa blaa...!but i dont now how?so i ask someone in BB to help me make more button or set some button when we need! like this:

(Give More Button)- when i press right i just can doing darby style actionnode,when i press left i just can doing ted style actionnode,when i press down i just can doing johnny style actionnode!

(Set Button When We need)- i just only can doing gary actionnode when i chose student faction(from menu), and i just can doing Russel action node when i chose Bullies faction(Gary or earnest action node removed), and i just can doing earnest action node when i chose nerd faction(Russel or gary action node removed).!

So that i give the example! so please help me, about this. if you guys don't understand tell me.
Title: Re: Give Lua More Button/Set Button When We need?
Post by: c00ld0c26 on May 04, 2014, 05:42:27 AM
You either need to combine a fighting style LUA table menu with action nodes code that works only when a certain style is used or make combinations of buttons to do many actionnodes.
Title: Re: Give Lua More Button/Set Button When We need?
Post by: embas10 on May 06, 2014, 08:00:30 AM
Thanks for you help. But can you explain me how to make table menu?i already learned how to make menu from you extremely detailed lua!
Title: Re: Give Lua More Button/Set Button When We need?
Post by: c00ld0c26 on May 07, 2014, 12:25:05 AM
There is a LUA table tutorial in the same topic gob mentioned as well.
But it is now fully done (1 part was deleted by Internet problems)
Title: Re: Give Lua More Button/Set Button When We need?
Post by: embas10 on May 09, 2014, 05:55:07 AM
thanks for you information!  :)
Title: Re: Give Lua More Button/Set Button When We need?
Post by: DaBOSS54320 on May 10, 2014, 12:24:18 AM
if you use a gamepad you can bind to controller #2 (put the 2nd parameter as 1 in the function) and you can get input/buttons from keyboard.
Title: Re: Give Lua More Button/Set Button When We need?
Post by: embas10 on May 15, 2014, 06:19:16 AM
if you use a gamepad you can bind to controller #2 (put the 2nd parameter as 1 in the function) and you can get input/buttons from keyboard.

thanks for your tips dude!  :)