Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to make a "Thirst/Hunger" script from scratch?

Asked by 10 years ago

I would like to make a "Thirst/Hunger" script, but don't know how. Anyone willing to help me out?

2 answers

Log in to vote
0
Answered by 10 years ago

Well basically all you'd need is a value inside their character or something of that sort that scales from 0 to 100 and there is another script that constantly is reducing the value at certain intervals and then make tools that when you click you eat/drink them and it adds to the value.

Ad
Log in to vote
0
Answered by 10 years ago

Continuing from Zack785

So you'll also need a script to detect if the water value is a certain value to then start harming the player. Now also you are gonna need a lot of value knowledge and math to make something like this , work. So have fun!

Answer this question