Error while subtracting values to a variable

Started by RayCanary on

Topic category: Troubleshooting, bugs, and solutions

Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Error while subtracting values to a variable

I need to subtract 1 to a variable when a button is pressed, but instead of subtracting 1 it subtracts 2.

in order to do that i did so:

Set Global: var to: Get Global: var - 1

What did i do wrong? 

Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
could you show the procedure…
Wed, 05/26/2021 - 00:11

could you show the procedure so i may see what might be going wrong