Basic Blueprint Math Question

Hi there all!

I have a super noobish question, but I’ve spent the better part of an hour trying to figure it out so I thought I’d cave and fall back to asking on the forums.

I want to do a simple “Variable = Variable +100” type of expression and am stuck. Here is what I’ve come up with as in my mind it “should be right”, but it isn’t working…

This doesn’t seem to add to the existing variable.
It does the math of “0+100”, but doesn’t go up from there.

Any recommendations for a new guy?

Thanks in advance!
James

Hey there @JSarge1981! Welcome to the community! You haven’t done anything wrong here, this specific BP snippet you’ve shown should in fact always just add 100. I’m going to get somewhere else in your script you may be setting it back to 0, or changing a reference.

for example, I made this really quickly as a copy of yours as proof of concept it does in fact work fine.

Could we take a look at the rest of the script that mentions Total EXP? maybe even where the event is coming from?

2 Likes