Help with returning Logic

Started by Cheese122 on

Topic category: Help with modding (Java Edition)

Last seen on 23:42, 9. Sep 2020
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with returning Logic

I was working on a Procedure that required it to return a boolean.
I cant figure out the issue. It looks fine to me

Thanks

 

dndmksdma

 

Last seen on 14:00, 14. Nov 2023
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
First of all, your procedure…
Tue, 09/08/2020 - 11:37

First of all, your procedure will always return false because the armor slot for leggings is 1 and the one for chestplate is 2 (you changed the numbers)
Then, I don't know what you're trying to do... how's your procedure triggered? why are your returning a boolean? to do what? how do you know the value of the boolean?

Last seen on 23:42, 9. Sep 2020
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Im trying to get it to…
Wed, 09/09/2020 - 01:26

Im trying to get it to toggle an overlay if they are wearing the Chestplate, Leggings and Boots