Hi,
So I want an enemy to shoot bullets, and that everytime, the bullets gets a different angle. I have this loop and function:
The wait is working correctly, but the bullets are always firing at 90 degrees with no changes. What can I do?
Thanks!
Develop games in your browser. Powerful, performant & highly capable.
The reason would be the loopindex becomes 0 after the wait so angleB becomes 0. That's why bullets are always firing at 90 degrees.
I found the below thread, where folks discuss the same issue. it may help you.
construct.net/en/forum/construct-3/how-do-i-8/wait-inside-forrepeat-loop-157049