How to add auto-firing when rotating the right analog stick

In this tutorial we will implement automatic weapon firing when the right thumbstick on a gamepad is being rotated. It’s not difficult and most of the logic is already present.

1. Open BP_CharacterBase and find the WASD graph
tss_autofire_0

 

2. Inside that graph, at the very end, add this to it:
tss_autofire_1

 

3. Now go over all your weapons and make sure they’re NOT set to automatic, the firerate is self explanatory, that will be used to how fast the weapon will fire.
tss_autofire_3

 

That’s it!