Keybinding for Certain Armor sets

Started by BlackBlur234 on Tue, 07/26/2016 - 17:10

Topic category: User side tutorials

Last seen on 19:09, 11. Nov 2016
Joined Jul 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Keybinding for Certain Armor sets
Tue, 07/26/2016 - 17:10

 I'm making a mod but there is a keybind that I want for a certain piece of armor (ex. A suit that can shoot Lightning) anyway I can do that?

Last seen on 19:45, 19. Sep 2019
Joined Apr 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
1. Add a new variable
Fri, 08/12/2016 - 20:36

1. Add a new variable

2. Make it a number variable and set it to zero

3. On your armor add "Armor on tick" do set variable to 1

4. Add a new item (sry couldn't find any other way) and do "On item right click" -> if variablename == 1 -> what ever you want it to do. 

Last seen on 19:45, 19. Sep 2019
Joined Apr 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Sorry number 4 should be the
Fri, 08/12/2016 - 20:37

Sorry number 4 should be the if statement but when button pressed