Keeping Potion Effect After Death (SOLVED)

Started by DeathD84 on

Topic category: Help with MCreator software

Joined Jan 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Keeping Potion Effect After Death (SOLVED)
Mon, 03/23/2020 - 20:08 (edited)

I was wondering if there is a way to keep a potion effect post-death; 

for example, the mod im working on, allows the player to become a vampire, but if you die, it get rids of the effect, and then a player could easily switch sides, or avoid consequences.. I want to be able to make it a permanent thing, to avoid things like that happening, or players losing their abilities. For now, i have an object you can only get while being a vampire, that gives you (or another player) vampirism when consumed.

Edited by DeathD84 on Mon, 03/23/2020 - 20:08
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What you could do is set a…
Fri, 02/14/2020 - 22:46

What you could do is set a global variable to 1 if the player is a vampire or 0 if the player isn't and make a procedure that says

 

Trigger event: When player respawns

If: Global variable = 1

Set Player vampire

 

Or something like that.

Thanks,

Shadow

Joined Jan 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ohh thank you, yeah that…
Sat, 02/15/2020 - 17:51

ohh thank you, yeah that worked.

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Awesome! Glad I could help  …
Sat, 02/22/2020 - 02:51

Awesome! Glad I could help

 

Thanks,

Shadow

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Does this work for…
Mon, 05/18/2020 - 04:07

Does this work for multiplayer or will everyone get the effect?

Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Did you get an answer…
Thu, 04/15/2021 - 20:24

Did you get an answer Tarubiaz?