trying to code this sword, cant

Started by Laxer on

Topic category: Help with MCreator software

Joined Jun 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
trying to code this sword, cant

https://imgur.com/a/hdLKv8l

 

(oh my god how do you upload images here)

 

need help, im trying to recreate the staff of homa from genshin for my mod. and i really dont get why local variables cant b used here, nor how to make a custom global variable

Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Lets explain you: You can't…
Thu, 06/26/2025 - 17:06

Lets explain you:

You can't use local var because events cannot store data, and debounce will always be on his initial value.

So, you can easyly create a var with settings: type: boolean; | Scope: Player_lifetime

Joined Jun 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how do i create a non-local…
Sat, 06/28/2025 - 03:40

how do i create a non-local var?

I suggest you check our…
Sat, 06/28/2025 - 12:41

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

Joined Jun 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i see, thank you. i was…
Sat, 06/28/2025 - 13:47

i see, thank you. i was going in blind with my ego due to me knowing how to use scratch, ill try following the tutorials from now on.