#Command when Player hits curtain hp

1 messages · Page 1 of 1 (latest)

silent zenith
#

I have a character in my game, but when the character hits a curtain hp(5 hp) It plays a BGM(just once) and I don’t really know how to do it,(3X only)

ocean heart
#

Hmmm

#

I think i know how to.

#

Wait a minute i'll show you a screenshot @silent zenith

#

Create an [ If object is created ]

#

Actually i meant [ When ]

#

Start the script with a [ Infinite loop ] With a [ If ] Under it.

#

In the [ If ] command, make the [ Square < Square ] thingy, and under the first square, put a Self attribute [ With the current actor icon ] And then make the attribute be current health.

#

Make the = thing be a <, and make the number be 5 ( As i see, you want to make it if the character has less than 5 )

#

Then put the command that you want inside the [ if ] command.

#

I made it to change the background color to red, so i can show it that it works.

#

My explaination sucks, but i hope it helped

silent zenith
#

It works

ocean heart
#

Almost correct