Variables Issue

Started by Xredarchannel on

Topic category: Troubleshooting, bugs, and solutions

Active 3 months ago
Joined Jun 2015
Points:
786

User statistics:

  • Modifications: 1
  • Forum topics: 11
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 12
Variables Issue

Hello everyone.

I was trying to make something like a lucky block when i came across a problem:

When I try to create a variable, either Global or Local, I can't. Global variables don't appears in the related list and Local variables appear but I cant select them with the "get" or "set to" blocks of the procedure.

I don't understand if this is caused by something wrong I did or by an error of the program. Please help me.

Thanks to everyone reply.

Active 1 week ago
Joined Aug 2016
Points:
3304

User statistics:

  • Modifications: 9
  • Forum topics: 63
  • Wiki pages: 20
  • MCreator plugins: 11
  • Comments: 2927
To see your local variables,…
Sat, 10/05/2019 - 12:59

To see your local variables, create your procedure and your local variable9s), after save the mod element, and re open it. It's only cause because the variable aren't still save, so MCreator don't know they exist.

Keep in mind local variables…
Sat, 10/05/2019 - 21:15

Keep in mind local variables only exist for the time of procedure execution. Each procedure even has own set of local variables.