I wish to make a Sonic health bar script for my 38A, unfortunately I know nothing in Teascript. Could anyone guide me?
What I want to do is something like this:
There would be a number variable in the top of the screen.
It would increase by 1 every time you collect NPC-152 (Ring) and go back to 0 if the player got hit.
If the player got hit while it showed 0, then it would trigger a death script.
I don't know if I'm doing it right, but it should look like something like this:
name variable: rings
if NPC-152 collected: increase by 1
if Player Hit: decrease to 0 (subtract the variable by itself)
if Player Hit and variable ''rings'' =0: Trigger death
Who is online (over the past 5 minutes)
Users browsing this forum: 1 guest