Hi,
I get this error even though the value I pass to the command cannot be outside the range 0-255, here's the code:
temp# = (MenuFadeTime(CurrentPlayer)*1.0)/(MenuFadeTimeTotal*1.0)
if temp#>1.0 then temp#=1.0 : if temp#<0.0 then temp#=0.0
set sprite alpha spriteID,int(temp#*255.0)
inc MenuFadeTime(CurrentPlayer),Time.Elapsed
I only seem to get the error randomly, anyone got any idea why this might happen?
Thanks,
Broken_Code
[EDIT]
OK, after some testing it seems the value it throws up the error at is -1, how does that get past the checks?
Thanks,
Broken_Code