How do a set to Rapid / Autofire in FPS Demo UE5?

How do I set the gun to Rapid / Autofire in the FPS Demo UE5?
Is it here:

All the tutorials are for UE4 or are not using the same blueprints

Thanks
Will

Hi there @will108, hope you’re well!

This topic has been moved from International to Programming & Scripting: Blueprint.

When posting, please review the categories to ensure your topic is posted in the most relevant space.

Thanks and happy developing! :slight_smile:

1 Like

Still no luck guys :sob:

Open the content drawer and navigate to Content->FirstPerson->Input->Actions. Open the IA_Shoot file. Under “Triggers”, change from “Pressed” to “Hold”. On the left of that there is an arrow next to “Index” that will give you options to set the hold time (for rapid fire to activate) and actuation time (time for first shot to fire). This will make it fire basically every tick.

To set the fire rate: in the BP_Weapon_Component event graph make a “delay” node and put it between “EnhancedInputActionIA_Shoot” and “SpawnActor BP First Person Projectile”.

1 Like

You are a superstar!!!
Thank you so much.

Will do this tonight
Will

Sorry bud, not working:


Thanks though, I will have a play.
Will

Hang on, it works!!!
0.1 on all 3 options

Had to share, thanks again!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.