Variables Issue

Started by Xredarchannel on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 14:45, 6. Jan 2024
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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.

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.