How to pass in the Decrease Ammo amount?

I’ve refactored my Blueprint by extracting the Decrease Ammo function as per the tutorial but the 1 to decrease by is hardcoded in. If I wanted to pass this into the new function as a parameter, how to do that during the Collapse to Function refactoring?

Click the plus icon in the details for inputs and feed it into the - node.

You’ll get a pin on the call to it

image

2 Likes

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

Privacy & Terms