SRL Archive - Help

Not counting.


Deadly Serious

2012-01-17 23:07:44

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

2012-01-17 23:12:59

Is "Crafted" your trips? Because it's a local var.

Deadly Serious

2012-01-17 23:13:47

From: Harry
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

2012-01-17 23:16:32

Both "crafted" are internal variables. You should make it global.

Deadly Serious

2012-01-17 23:20:28

It worked, thanks guys. I honestly didn't think it would make a difference, that shows how much I know about scripting >.<