Per-Block Local Variable?

Started by AlexTheAwesome on Sat, 06/05/2021 - 22:45

Topic category: Help with MCreator software

Last seen on 05:10, 19. Jul 2021
Joined Oct 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Per-Block Local Variable?
Sat, 06/05/2021 - 22:45

I need a variable that I can reference between procedures that is also individual to each separate block. I want to reference a variable between Redstone on and Redstone off, but separate between duplicate blocks. I'm trying to make it toggle a variable one way when it's on and the other when it's off, but I can't reference one procedure's local variable from the other procedure.

Last seen on 05:10, 19. Jul 2021
Joined Oct 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do you do that? I didn't…
Sun, 06/06/2021 - 04:57

How do you do that? I didn't know it existed.

I suggest you check our…
Sun, 06/06/2021 - 14:15

I suggest you check our tutorials collection playlist on our YouTube channel which contains many examples and tutorials that can help you get started with MCreator: https://www.youtube.com/playlist?list=PLAeL-oIFIEngE6jRgFYeFMfuj8WQsO3Ei