News: Welcome back to Bullworth! If you haven't already, you will need to reset your password..


Author Topic: Give Lua More Button/Set Button When We need?  (Read 3107 times)

0 Members and 1 Guest are viewing this topic.

Offline embas10

  • Jr. Member
  • **
  • Posts: 27
  • Gender: Male
    • View Profile
Give Lua More Button/Set Button When We need?
« 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.
« Last Edit: May 03, 2014, 08:44:45 AM by embas10 »

Offline c00ld0c26

  • The D0c
  • Moderator
  • Can't Get Enough
  • *****
  • Posts: 5,137
  • Gender: Male
  • Just a dood doing dood things.
    • View Profile
    • My channel.
Re: Give Lua More Button/Set Button When We need?
« Reply #1 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.

Offline embas10

  • Jr. Member
  • **
  • Posts: 27
  • Gender: Male
    • View Profile
Re: Give Lua More Button/Set Button When We need?
« Reply #2 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!
« Last Edit: May 06, 2014, 08:02:13 AM by embas10 »

Offline c00ld0c26

  • The D0c
  • Moderator
  • Can't Get Enough
  • *****
  • Posts: 5,137
  • Gender: Male
  • Just a dood doing dood things.
    • View Profile
    • My channel.
Re: Give Lua More Button/Set Button When We need?
« Reply #3 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)

Offline embas10

  • Jr. Member
  • **
  • Posts: 27
  • Gender: Male
    • View Profile
Re: Give Lua More Button/Set Button When We need?
« Reply #4 on: May 09, 2014, 05:55:07 AM »
thanks for you information!  :)

Offline DaBOSS54320

  • Hero Member
  • ****
  • Posts: 3,398
  • Gender: Female
    • View Profile
Re: Give Lua More Button/Set Button When We need?
« Reply #5 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.

Offline embas10

  • Jr. Member
  • **
  • Posts: 27
  • Gender: Male
    • View Profile
Re: Give Lua More Button/Set Button When We need?
« Reply #6 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!  :)