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
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!
Still no luck guys
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”.
You are a superstar!!!
Thank you so much.
Will do this tonight
Will
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.