Please May I Have Some Help?

Started by gerbillover on

Topic category: Advanced modding

Active 7 years ago
Joined Oct 2016
Points:
760

User statistics:

  • Modifications: 1
  • Forum topics: 7
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 29
Please May I Have Some Help?

Hello everyone. I'm trying to make a thirst bar. I have set up the overlays and created the variable, but I do not know how to make the variable lower over time and kill the player when it is 0. I am presuming there is code involved, which I am prepared for. Thanks for reading my post, and I hope you have a good day :)

Active 7 years ago
Joined Nov 2016
Points:
882

User statistics:

  • Modifications: 0
  • Forum topics: 21
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 155
I would say check the globle
Tue, 11/29/2016 - 14:37

I would say check the globle events there is a MC tick there maybe you could use that one and take so much off your verb and do a check after taking some off it its equal or less then to 0 kill user

Active 7 years ago
Joined Oct 2016
Points:
760

User statistics:

  • Modifications: 1
  • Forum topics: 7
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 29
Omg, I didn't see the
Tue, 11/29/2016 - 14:41

Omg, I didn't see the minecart tick option :/ Thank you so much :D You deserve a cookie.

Active 7 years ago
Joined Nov 2016
Points:
882

User statistics:

  • Modifications: 0
  • Forum topics: 21
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 155
RE:Omg, I didn't see the
Tue, 11/29/2016 - 14:55

@#2 Yay, I am making a regression mod lol so cookies and other childish things are useful lol hehe :)