Log in

View Full Version : Not counting.



Deadly Serious
01-18-2012, 04:07 AM
Does anyone know why this isn't counting my trips? http://pastebin.com/Tv9ZcbR5
I just cut down the code, so you didn't have to read through it all.
I've read through an old tutorial and it's basically the same.

Harry
01-18-2012, 04:12 AM
Is "Crafted" your trips? Because it's a local var.

Deadly Serious
01-18-2012, 04:13 AM
Is "Crafted" your trips? Because it's a local var.

I changed it from "Howmany" that Yoho told me to do. It doesn't work with "Howmany" either.
It's just a local var because I didn't think it would have to be global, since it's only counting how many times I bank and then multiplying it.

bg5
01-18-2012, 04:16 AM
Both "crafted" are internal variables. You should make it global.

Deadly Serious
01-18-2012, 04:20 AM
It worked, thanks guys. I honestly didn't think it would make a difference, that shows how much I know about scripting >.<