Help with detecting armor slots

Started by aidanete on Mon, 07/01/2019 - 17:43

Topic category: Help with modding

Last seen on 12:13, 22. Jan 2020
Joined Dec 2013
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • Tracker tickets:
Help with detecting armor slots
Mon, 07/01/2019 - 17:43

I'm trying to detect if the player has a full armor of specific material from my mod, if true, it will null damage from certain blocks and some more. However, it doesn't pull anything, doesn't matter I have the full armor, partial, other or none armor.

Here is the image of the code. It detects if the armor is not full, and if it's not full, do all the bad things:

Procedure Screenshot

Can anyone help me?

0Upvote this forum topic
Slot 0 is for boots and 3…
Tue, 07/02/2019 - 08:37

Slot 0 is for boots and 3 for helmet. You have turned them around.

0Upvote this forum topic
Last seen on 12:13, 22. Jan 2020
Joined Dec 2013
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • Tracker tickets:
Ah, sorry! I thought that…
Tue, 07/02/2019 - 12:07

Ah, sorry! I thought that but I felt it like no sense. Thank you very much :)

0Upvote this forum topic