Keybinds that require Armor

Started by Super_MC_Bro25 on Sun, 12/27/2015 - 20:25
Last seen on 01:15, 30. Aug 2016
Joined Apr 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Keybinds that require Armor
Sun, 12/27/2015 - 20:25

I'm trying to make a keybind that gives a player an item if he/she's wearing a specific armor, but I can't figure out how to do this. I also will need various more keybinds like this. Any help will be very much appreciated.

Last seen on 22:33, 5. Aug 2017
Joined Sep 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Use variables
Mon, 12/28/2015 - 09:51

Use variables

Last seen on 01:15, 30. Aug 2016
Joined Apr 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
How would I use variables?
Mon, 12/28/2015 - 18:55

How would I use variables?

Last seen on 22:33, 5. Aug 2017
Joined Sep 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Make that if someone is
Mon, 12/28/2015 - 22:38

Make that if someone is wearing armor a variable is set to 1 and make the keybinding event happens if the variable is set to 1

Last seen on 01:15, 30. Aug 2016
Joined Apr 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
I'm trying this, but how
Tue, 12/29/2015 - 03:20

I'm trying this, but how would I edit it in the source code?

Last seen on 01:15, 30. Aug 2016
Joined Apr 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Anyone? I really want to know
Thu, 01/07/2016 - 04:56

Anyone? I really want to know how to do this.

Last seen on 00:19, 22. Sep 2018
Joined Aug 2013
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • wiki contributor
  • moderator
In the keybind code check if
Thu, 01/07/2016 - 11:59

In the keybind code check if the armor slots are not null , and if they are not null , check if the names equals to your armor names.

Last seen on 01:15, 30. Aug 2016
Joined Apr 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
What do you mean? I need
Fri, 01/08/2016 - 03:30

What do you mean? I need further context to understand what your saying.

Last seen on 01:15, 30. Aug 2016
Joined Apr 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Anybody?
Sat, 01/16/2016 - 16:03

Anybody?

Last seen on 23:30, 6. May 2016
Joined Jan 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Use two variables, i.e
Sat, 01/16/2016 - 17:59

Use two variables, i.e ArmorWear and KeyBind, (The names don't matter) and if the player is wearing the armor, set ArmorWear to 1, and if the player is pressing the key, set KeyBind to 1, and if both are one, then give the player an item. Then do if the player is NOT wearing the armor and set ArmorWear to 0, and do the same for KeyBind.

Last seen on 19:29, 30. Jun 2018
Joined Sep 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
RE:Use two variables, i.e
Sat, 07/23/2016 - 20:12

@#9 yes but how do you sense wearing armor!?

sry im just dying to know how to do this