Keeping Potion Effect After Death

Started by DeathD84 on Fri, 02/14/2020 - 15:24

Topic category: Help with MCreator's application

Last seen on 03:09, 19. Feb 2020
Joined Jan 2016
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
Keeping Potion Effect After Death
Fri, 02/14/2020 - 15:24

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.

0Upvote this forum topic
Last seen on 19:52, 23. Feb 2020
Joined Sep 2019
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
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

0Upvote this forum topic
Last seen on 03:09, 19. Feb 2020
Joined Jan 2016
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
ohh thank you, yeah that…
Sat, 02/15/2020 - 17:51

ohh thank you, yeah that worked.

0Upvote this forum topic
Last seen on 19:52, 23. Feb 2020
Joined Sep 2019
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
Awesome! Glad I could help  …
Sat, 02/22/2020 - 02:51

Awesome! Glad I could help

 

Thanks,

Shadow

0Upvote this forum topic