Ah thank you for your response. I guess it is that easy, but I have an interesting problem.
My issue is that I have multiple units spawning multiple.. lets say "sheep".
I have set to every tick, every time a unit produces a sheep, to add to the entire variable.
The issue with "every tick" is that, I can't seem to "every tick, calculate how many sheep you have IN TOTAL"
When I tried using every tick in the past, it would only calculate the sheep for the first unit with the lowest id first.
So I had to resort to "For every unit, add their sheep to the total value"
So now I had to run around and do, for every sheep loss, minus from the total value.
But I'll try and make a new capx and see if some thing is mucking up the "every tick - set variable of total sheep"