Keeping Potion Effect After Death (SOLVED)

Started by DeathD84 on

Topic category: Help with MCreator software

Last seen on 05:12, 28. Mar 2024
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
Last seen on 01:34, 21. May 2020
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

Last seen on 05:12, 28. Mar 2024
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.

Last seen on 01:34, 21. May 2020
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

Last seen on 01:03, 1. Jun 2020
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?

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

Last seen on 11:57, 17. Aug 2023
Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Um actually i kinda need a…
Sun, 06/11/2023 - 07:07

Um actually i kinda need a imagur pls.