How to make another actor lose health to only my animation?
Cabbagehead
Member Posts: 10
So, I have this block, called a Fire block. Basically when I press spacebar it animates 3 different pictures of a simple fire, replacing the block, making it look like a fire, and it also plays a sound like a fire burning.
But I also want it to actually burn other actors. But only when I'm pressing spacebar. How can I do this?
Comments
When overlap with fire actor and space bar pressed destroy actor
Fire Block -Boolean
True if space bar is down
False if space bar is not down
Actor
If fire block boolean is true on touch or overlape - play hurt animation or decrease health etc etc
If fireblock boolean is false do nothing.
This is what I was looking for, thanks alot
I was in your shoes.