100-2=96 :(

This is probably super simple but i can´t figure it out. Am i doing anything wrong? The result should be 98. I have printed out the to call variable and the original gold amount before the toCall is substracted and it looks correct.

Get (reference) from an array MIGHT not work for all kind of variables. Make sure you test this with your struct before you actually use this method.
And I forgot to mention that the “Set members in [Struct]” have pin options under details.

One day we’re going to get a ForLoop that spits out struct references. Maybe.

Thank you ste1nar! It worked :slight_smile: Also i had no idea about the Set members node, so the varibles in the struct that dont have anything plugged or written into them stay the same?