Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
  • 0
Sign in to follow this  
Meteor Rain

Question

Question

Is it possible, if yes, could somebody explain me how to/give some hints on how to make a hunger and cold system?

 

With hunger system I mean like if the player doesn't eat something in 10 minutes, he will be damaged, until he eats.

And with cold system I mean if like if the player doesn't stand next to a fire in 10 minutes, he will be damaged.

 

So, could anybody maybe give some hints on how to do this?

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

I remember seeing a script for the eating one somewhere...

Could you not just use the timer? For example set it to 10 min and if the person eats something(uses an item) the timer just restarts other wise if it reaches 0 then the player just takes damage. Then same thing for the cold just a thought but I imagine it would need to be under common events in the database. :alright:

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...