#How do i add a hunger bar?
1 messages · Page 1 of 1 (latest)
make a numerical global variable, add this script to the main actor:
when object is created
infinite loop
if (variable) ≠ 0
set (variable) - 1
wait 1 sec
or else
set (main actor) current hp - 1
wait 0.2 sec