Thanks Pharoseer, this will make my work easier
Now Ive been at this and i am kinda stuck
sync on
make object cube 1,1
do
pitch object down 1,.01
xs = wrapvalue(object angle x(1))
lcol=255
lcol=lcol+xs-(xs+1)
print xs
print lcol
sync
loop
this is the closest representation of my code (with the same problem i am trying to figure out)
xs is the angle of the spinning object
and lcol is the variable
i need to have lcol subtract 1 from itself every time xs (the spinning cube) goes up by one degree
so its like a tradeoff, add one/ subtract one.
but for some reason it only subtracts once even if its in a loop (run the code you will see)
but if i add instead of subtracting like this
lcol=lcol+xs+(xs+1)
its gonna start adding both variables every time it changes (just what i want but in a different direction)
I tried all kinds of tricks and ways of going around it by adding more variables and stuff but it didnt work
help
thanks
dont hate people who rip you off,cheat and get away with it, learn from them