Procedure won't stop looping

Started by FanofMario09 on Sun, 07/26/2020 - 04:01

Topic category: Help with MCreator software

Last seen on 01:26, 9. Feb 2021
Joined Oct 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Procedure won't stop looping
Sun, 07/26/2020 - 04:01

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 23:03, 29. Apr 2021
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.