can't change player variable value

Started by Robotoo on

Topic category: Help with MCreator software

Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
can't change player variable value

this is my gloabl procedure however when i set the variable's base value to 1 it just prints "1" only once in chat whenever i kill the ennemy and when i set it to 0 it doesn't send it at all in other words the variable value doesn't change PLS HELP ;(thanks for taking a look at this guys it really helps

Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
guess the problem is with…
Sun, 12/06/2020 - 20:28

guess the problem is with the global variable type it was set to player persistent and as soon as i set it to global world it worked however this might cause a problem in multiplayer so if anyone has a workaround pls help

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
btw you should never use …
Sun, 04/25/2021 - 19:10

btw you should never use [Logic] = True as it is redundant. = outputs true if the two inputs are the same, so if [Logic] = True, [Logic] is true and can be used as true