Add item procedure -Issue

Started by Rotmax on

Topic category: Help with MCreator software

Joined Nov 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Add item procedure -Issue

Hello!

I have a problem with my new mod. 

I added an armour and than I created a armour-procedure which should give the player an item. 

But the player gets thousands of this item. 

What should I do that the player gets only 1 item?

 

Thank you for your help!

Item gets added each armor…
Sun, 03/31/2019 - 14:50

Item gets added each armor tick, this is why it gets thousands of them. You might need to use a global variable to flag once the item has been added for the first time.

Joined Nov 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is there a tutorial on the…
Sun, 03/31/2019 - 17:18

Is there a tutorial on the website, how variables work?

Joined Nov 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can you exlplain me what I…
Sun, 03/31/2019 - 18:23

Can you exlplain me what I have to do? 

Joined Nov 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It works now thank you
Sun, 03/31/2019 - 18:29

It works now thank you