Decrement Lives Procedure

Started by Molonko on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Decrement Lives Procedure

I also have two variables, "currentLives", type: number, variable scope: player_persistent, same for "livesMessage" but string type.

 

I think the issue is where the lives go -1 and when repeated again its now at 0 or something. I feel like the fix is simple but my smoothed brain is struggling and any help to make the lives go down one by one properly would be greatly appreciated. 

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(It's still player…
Sun, 07/21/2024 - 21:01

(It's still player_persistent of course)

Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you so much brother…
Mon, 07/22/2024 - 00:07

Thank you so much brother much love

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You're welcome
Mon, 07/22/2024 - 00:09

You're welcome