Global variable syncing

Started by tret on

Topic category: Advanced modding

Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Global variable syncing

So i'm facing a problem that makes me nervous.

The problem is the following. When i set a global variable's type to a custom one the reader changes it back. I need an int array variable so it would be much easier to handle my mod.

Does anybody have a tip about this problem?

Joined Oct 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What you could do is when a…
Tue, 11/17/2020 - 22:49

What you could do is when a player spawns into the world (or alternatively on player tick) set the global var to what you want it to be and then it'll reference that when in game