Procedure won't stop looping

Started by FanofMario09 on

Topic category: Help with MCreator software

Last seen on 00:51, 27. Jul 2021
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.

Last seen on 05:22, 23. Feb 2022
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.