Add a trigger when a player equips a piece of armor

Started by THG on

Topic category: Feature requests and ideas for MCreator

Last seen on 12:14, 19. Sep 2024
Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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

Last seen on 08:25, 18. Sep 2024
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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