how to make a togglable variable

Started by biytz on

Topic category: Website and community discussion

Active 3 months ago
Joined Jan 2025
Points:
21

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 0
how to make a togglable variable
Thu, 01/02/2025 - 18:17 (edited)

I have tried using global and local variables. What am I doing wrong? https://imgur.com/a/HzT9dUt And also, when I run another script for when a button is pressed, it repeats the function indefinitely and crashes MCreator, how do I get that to not happen? Thanks! πŸ˜„

 

I meant to make the topic modding help lol

Edited by biytz on Thu, 01/02/2025 - 18:17
Active 2 days ago
Joined Aug 2024
Points:
172

User statistics:

  • Modifications: 2
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 171
The same thing happened to…
Sun, 01/19/2025 - 10:11

The same thing happened to me and I fixed it by deleting and recreating the variables.