snapshot 2021.1 b03117 local variables do not work!

Started by Dragonflable_75 on

Topic category: Troubleshooting, bugs, and solutions

Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
snapshot 2021.1 b03117 local variables do not work!

I've been working on a procedure on the new snapshot and when I tried to save it, a window poped up on my mcreator saying: «Statement do does not support local variables».

 

I tried to make a test procedure where there is a local variable. same thing occured. when I removed the variable, it worked perfectly fine.

 

can someone explain to me why is this happening and if someone have the same problem?

Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Add pictures of your…
Mon, 01/18/2021 - 21:26

Add pictures of your procedures.

Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
that Procedure doesn't work …
Mon, 01/18/2021 - 22:58

that Procedure doesn't work 

You need to put if get local variable = true

then do 

Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thanks but it still doesn't…
Mon, 01/18/2021 - 23:04

thanks but it still doesn't work because i can't save it due that mcreator considers that the local variable is an error.

Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
swbnd screenshot of that…
Mon, 01/18/2021 - 23:06

swbnd screenshot of that procedure

Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
my new procedure:  
Tue, 01/19/2021 - 22:35

my new procedure:new procedure

 

Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
woops wrong link     When i…
Tue, 01/19/2021 - 22:37

woops wrong link

correct link

 

 

When i try to save it:

error message

Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Wait this is actually a…
Mon, 01/25/2021 - 22:22

Wait this is actually a report of a bug in the new snapshot