its taking two ammo when i fire the gun but it should only be taking one, the event already has trigger once while true so im not sure why its taking two
You could try using a boolean variable ācanfireā and set it to true when button released. If it was a key press - you could use ājust pressedā and there was a discussion last month about the need for a similar thing with the mouse button. See below i added a scenetimer too - but you can probably just use the parameters in fire bullet - iāve not used fire bullet b4
I came here to answer him, but you said all i was going to say!
Is the animation changing when it fires? The trigger once takes all previous conditions of the event into account. The trigger once gets removed or reset when either condition changes itās state.
If the button is still pressed when the animation condition goes from true then to false and then back to true then it would fire again.
If this is happening then you could move the animation condition below the trigger once so that only the mouse condition is used for it.
Are 2 bullets firing? If they fired on the same frame or consecutive frames then they would look like 1 bullet.
The āfireā action already handles ammo. You donāt need to ask it to remove another one.
When the bullet was fired it was already subtracting from the ammo count, I didnāt need to add the subtract one.
Thank you! Thatās what was causing the issue <3

