Hi!
Lets say I had a main character in my game called player, and various spike traps called trap. In the game I have an actor called "life". What I want to do is have it so that the default value of life is 100, and whenever "player" collides with "trap" that number keeps decreasing by one until player comes off of the trap. But if "life" hits zero he dies. Does anyone have an idea on how to do this?