I want to add a delay to my potion effect

Started by Steinzermalmer on

Topic category: Help with MCreator software

Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I want to add a delay to my potion effect

Hi,

I wanted to add an effect called Venom which after a few seconds gives you bad effects and after a few nother seconds it damages you. Similar to how in real life e.g.; snake venom doesnt kill you instantly, but weakens you and kills you after some time if you don't get the cure. I can't figure out how to do this delay and in tutorials on yt ppl only have block delays or global timers. I want this effect to be applied when a scorpion or another poisonous creature I made attacks you. I'm pretty sure I don't want to use the on pkayer update tick tho because wouldn't that then even be when you are just playing normally? Can anyone help me?
Thx

Joined May 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In the snapshots there is a …
Tue, 02/16/2021 - 04:32

In the snapshots there is a "wait _ ticks" procedure block. This is most likely what you'd need to get this working.

PS. It's unfortunate nobody's gotten to you for so long. Hope this still helps.

Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I am having a similar issue…
Sat, 09/10/2022 - 02:13

I am having a similar issue here. I want to make a potion effect that will do damage every 2 seconds. What happens is that after 2 seconds it starts damaging me rapidly until i die or potion effect expires. Any ways how to fix it?

This is my procedure: https://imgur.com/a/NvgNTet