Add item procedure -Issue

Started by Rotmax on

Topic category: Help with MCreator software

Active 12 months ago
Joined Nov 2015
Points:
906

User statistics:

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

Active 12 months ago
Joined Nov 2015
Points:
906

User statistics:

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

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

There could be some on the…
Sun, 03/31/2019 - 17:34

There could be some on the forums, you might also want to check our tutorials collection on YouTube.

Active 12 months ago
Joined Nov 2015
Points:
906

User statistics:

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

Can you exlplain me what I have to do? 

Active 12 months ago
Joined Nov 2015
Points:
906

User statistics:

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

It works now thank you