About recycling bullets

nonsense021

  • Posts: 1
Hi! I just want to ask for help regarding my codes.

What I want to happen is to create a bullet that will recycle itself if it hits a target. If it does not hit a target, it will recycle itself after 1 second.

However, what happens is that if the first bullet fired hits the target and successfully recycles itself, the following bullets will try to recycle itself before 1 second.

Nomosoft

  • Posts: 122
Hi! I just want to ask for help regarding my codes.

What I want to happen is to create a bullet that will recycle itself if it hits a target. If it does not hit a target, it will recycle itself after 1 second.

However, what happens is that if the first bullet fired hits the target and successfully recycles itself, the following bullets will try to recycle itself before 1 second.

I actually started a thread about this in the bugs section, but no one has responded. There is definitely a problem with timers, and some actor fields (x, y) when recycling actors.