Global variable syncing

Started by tret on Fri, 11/13/2020 - 12:50

Topic category: Advanced modding

Last seen on 13:17, 17. Nov 2020
Joined Nov 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Global variable syncing
Fri, 11/13/2020 - 12:50

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?

Last seen on 18:54, 20. Nov 2020
Joined Oct 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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