snapshot 2021.1 b03117 local variables do not work!

Started by Dragonflable_75 on Mon, 01/18/2021 - 21:07

Topic category: Bugs and solutions

Last seen on 13:52, 16. Feb 2021
Joined Dec 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
snapshot 2021.1 b03117 local variables do not work!
Mon, 01/18/2021 - 21:07

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?

Last seen on 19:00, 27. Feb 2021
Joined Nov 2018
User points:

User statistics:

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

Add pictures of your procedures.

Last seen on 13:52, 16. Feb 2021
Joined Dec 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
my test procedure:
Mon, 01/18/2021 - 22:35

my test procedure:

the procedure

Last seen on 23:56, 27. Feb 2021
Joined Dec 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 

Last seen on 13:52, 16. Feb 2021
Joined Dec 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.

Last seen on 23:56, 27. Feb 2021
Joined Dec 2019
User points:

User statistics:

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

swbnd screenshot of that procedure

Last seen on 13:52, 16. Feb 2021
Joined Dec 2020
User points:

User statistics:

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

my new procedure:new procedure

 

Last seen on 13:52, 16. Feb 2021
Joined Dec 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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

Last seen on 13:52, 16. Feb 2021
Joined Dec 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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