Block plays sound everytime redstone is toggled , only programmed to when redstone signal is turned on.

Started by TigerManGaming on

Topic category: Help with MCreator software

Last seen on 18:14, 15. Aug 2023
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Block plays sound everytime redstone is toggled , only programmed to when redstone signal is turned on.
Fri, 11/01/2019 - 20:16 (edited)

I have made a block that plays a sound when a redstone input to it is turned on. When i place a lever next to it and toggle it, it works as expected. When i toggle it again (turning the signal off), no sound plays. However, when i run one or more pieces of redstone from the lever to the block, then toggle it, when i turn the signal off again, the sound will play again, slightly louder than usual. Any thoughts?

 

EDIT: It seems to be that the RedstoneOn event is firing when the redstone signal is turned off, but only under certain random contidions. What the..?

Edited by TigerManGaming on Fri, 11/01/2019 - 20:16
Last seen on 17:26, 8. Sep 2023
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Maybe you set the RedstoneOn…
Thu, 11/07/2019 - 15:36

Maybe you set the RedstoneOn procedure as the RedstoneOff as well. Procedures are tricky to work with and even I don't fully know how they work.