C
cobebear
Guest
Hi -
I've been having problems with how to collect resources with a collision event. What I want to happen is
the player collides with the tree to cut some wood. The wood appears in their inventory every five seconds. The problem is that the alarm that I'm using never goes down due to it resetting every step.
I remember this problem having an easy fix and it had something to do with setting the alarm to -1 and an if statement. However, my laptop is broken and I cannot access the previous projects that had it.
Any help would be much appreciated. I've been at this for a couple of hours but I can't seem to get it down.
Thanks!
I've been having problems with how to collect resources with a collision event. What I want to happen is
the player collides with the tree to cut some wood. The wood appears in their inventory every five seconds. The problem is that the alarm that I'm using never goes down due to it resetting every step.
I remember this problem having an easy fix and it had something to do with setting the alarm to -1 and an if statement. However, my laptop is broken and I cannot access the previous projects that had it.
Any help would be much appreciated. I've been at this for a couple of hours but I can't seem to get it down.
Thanks!