Procedure Problem

Started by Shiori on

Topic category: Help with MCreator software

Last seen on 17:28, 5. Oct 2023
Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Procedure Problem

I can not understand why variable N instantly becomes zero after replenishment

Procedure

Local variable is local per…
Wed, 05/01/2019 - 10:15

Local variable is local per procedure execution. To preserve the variable, it needs to be global.

Last seen on 17:28, 5. Oct 2023
Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In this case, will this…
Wed, 05/01/2019 - 13:08

In this case, will this variable be independent for each player?

Last seen on 17:28, 5. Oct 2023
Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
And will its value be…
Wed, 05/01/2019 - 13:15

And will its value be preserved after the player has re-entered the server?

Last seen on 17:28, 5. Oct 2023
Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
12,000 ticks pass in 5…
Wed, 05/01/2019 - 13:51

12,000 ticks pass in 5 minutes instead of 10 minutes

Last seen on 14:52, 1. Oct 2020
Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The answers to your…
Wed, 05/01/2019 - 15:34

The answers to your questions about global variables: It depends on the type of global variable. Since they were updated in 1.8.3, I think it may either be World or Map global variables you are after.

Last seen on 17:28, 5. Oct 2023
Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thx
Wed, 05/01/2019 - 16:00

Thx

Last seen on 17:28, 5. Oct 2023
Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Changing the variable to the…
Wed, 05/01/2019 - 16:25

Changing the variable to the world type corrected the number of ticks in the second

Last seen on 17:28, 5. Oct 2023
Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can I somehow put and remove…
Wed, 05/01/2019 - 17:00

Can I somehow put and remove armor in the player's slot?

Last seen on 17:28, 5. Oct 2023
Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Decided using /replaceitem …
Wed, 05/01/2019 - 17:16

Decided using /replaceitem
"Can you somehow put and remove armor in a player's slot?"

Last seen on 17:28, 5. Oct 2023
Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can you somehow make the…
Thu, 05/02/2019 - 17:02

Can you somehow make the block collect an item from the zero slot from all blocks in a radius of 50 units around?

I tried to do it through a replay, but when I activate minecraft crashes, since 200000 procedures were performed =D

Procedure

Last seen on 17:28, 5. Oct 2023
Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to get name of item from…
Fri, 05/03/2019 - 11:11

How to get name of item from slot in block?

Last seen on 17:28, 5. Oct 2023
Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Found
Fri, 05/03/2019 - 11:16

Found

Last seen on 17:28, 5. Oct 2023
Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
At the expense of the…
Fri, 05/17/2019 - 12:10

At the expense of the initial question
The global variable is common to all players on the server, but I need an individual