How to make sure that the weapon would fire until I release the fire button? I have start content FIRST PERSON. What can i do this?
Use a timer. In Blueprint use function “Set event by timer”, create a custom event, bind it to the function and call the shoot function on the custom event. Make sure the timer has looping set to true and set the time as per your fire rate needed. This is pretty basic stuff, you should go through the documentation.
Could you dump this very documentation, because I can not find it?
Set a bool to true when the button is pressed. Set the same bool to false when released. After the bool on pressed, do a branch to check if your bool is still true then spawn the projectile. Set a delay (this will be your fire rate) and then plug the execution pin to the previous branch.
It would look like this :
Thank you! That really too easy)