Procedure Problem

Started by Shiori on

Topic category: Help with MCreator software

Active 1 year ago
Joined Apr 2019
Points:
810

User statistics:

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

Active 1 year ago
Joined Apr 2019
Points:
810

User statistics:

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

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

Active 1 year ago
Joined Apr 2019
Points:
810

User statistics:

  • Modifications: 1
  • Forum topics: 25
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 43
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?

Active 1 year ago
Joined Apr 2019
Points:
810

User statistics:

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

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

Active 4 years ago
Joined Jun 2016
Points:
1725

User statistics:

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

Active 1 year ago
Joined Apr 2019
Points:
810

User statistics:

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

Thx

Active 1 year ago
Joined Apr 2019
Points:
810

User statistics:

  • Modifications: 1
  • Forum topics: 25
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 43
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

Active 1 year ago
Joined Apr 2019
Points:
810

User statistics:

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

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

Active 1 year ago
Joined Apr 2019
Points:
810

User statistics:

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

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

Active 1 year ago
Joined Apr 2019
Points:
810

User statistics:

  • Modifications: 1
  • Forum topics: 25
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 43
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

Active 1 year ago
Joined Apr 2019
Points:
810

User statistics:

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

How to get name of item from slot in block?

Active 1 year ago
Joined Apr 2019
Points:
810

User statistics:

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

Found

Active 1 year ago
Joined Apr 2019
Points:
810

User statistics:

  • Modifications: 1
  • Forum topics: 25
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 43
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