Procedure won't stop looping

Started by FanofMario09 on

Topic category: Help with MCreator software

Joined Oct 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Procedure won't stop looping

I want a sound effect to play the moment I hold a sword I made, but instead, it plays the sound every frame I hold it until I scroll off the item. How do I make it happen, then stop until I unequip it and equip it again? If this is a dumb question I'm not surprised, it sounds like one to me, even though I can't find any block that stops the procedure.

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use a wait procedure that…
Fri, 04/16/2021 - 23:04

Use a wait procedure that waits at the perfect time of an animation tick.