My variables aren't working?

Started by Matt The Banana on

Topic category: Help with modding (Java Edition)

Last seen on 18:45, 15. Sep 2024
Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
My variables aren't working?
Mon, 03/02/2020 - 00:43 (edited)

I have some code in MCreator, but MCreator keeps setting my variable to zero each time that it calls this event, so it continuously sets it to one. How do I make it so that the variable is only set to 0 the first time.

 

https://imgur.com/hr8zKvo

 

Edited by Matt The Banana on Mon, 03/02/2020 - 00:43