Checkpoint Healer (Help)

Hello Flowlabbers

I found that I needed a healer for my game Vironia. My first idea was; when the player reaches a checkpoint, they get healed. Since the checkpoints don’t destroy themselves when the player collides with it, I need a way for the checkpoint to heal the player character once when the object collides with it.

Please help,
-Ember.Y

just use a one-way switch
image

2 Likes

Switches. Use a switch

1 Like

Ha. Instant replies, we replied at the same time

lol
@JUSTPLAINOP you should just ask bradanS and I before you make a help request on it

1 Like

Hah! How stupid I was. I had no idea the 'Switch; behavior could do that.

Oh, yeah. Well, I wasn’t sure if you knew how.

Never mind, I fixed it.

I tried using a switch. This is the code I’m using:


image
image
image
The output shown on the last screenshot is attached to the HP number input +. The coding should work, right?