I’m working on weapon customization logic and I’ve hit a wall with this. It sure seems something easy but I cannot figure it out.
When I equip a silencer on the barrel, I want to have multiple stats change and I get this done manually as shown in Image 1.
What I want to do, is control those values through a variable.
Image 2 shows there are multiple values of the integer variable and I did set those, I just cannot find a way to separate the value outputs to pin them in “Accuracy” “Damage” and “Critical Hit” nodes on the Image 1
How does image 2 show multiple values? It looks like the barrel variable is just an int.
Under “Variable Type” there is a dropdown menu (Single, Array, Set, Map)
I’m using SINGLE for now, but am wondering if there is some other option possible to get multiple values out of 1 integer variable?
Yes, Array You can put as many was you want in then.
Ok, I made an array. How do I break the pins to get different outputs and pin them separately into different slots?
Thank you man, You’re an absolute legend