Add a trigger when a player equips a piece of armor

Started by TwigYT on

Topic category: Feature requests and ideas for MCreator

Active 1 week ago
Joined Aug 2022
Points:
428

User statistics:

  • Modifications: 2
  • Forum topics: 15
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 77
Add a trigger when a player equips a piece of armor

I have found that I have sometimes needed a global trigger that activates when someone equips a piece of armor. I have one love to see this

Active 1 week ago
Joined Nov 2019
Points:
854

User statistics:

  • Modifications: 0
  • Forum topics: 12
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 325
if you want to emulate this…
Wed, 09/18/2024 - 08:20

if you want to emulate this you could have a global variable for each piece that is false, and on player tick check if they are wearing armor and the value is false, then change it to true and make it do it's thing, and if it's true and there is nothing, set false, hope this helps