For some reason or another when I converted my massive calculator script into int[24] format instead of 25 separate integers, the script cannot do the checks.
Code:
if(N[0]==0&&N[1]==0&&N[2]==0&&N[3]==0&&N[4]==0&&N[5]==0&&N[6]==0&&N[7]==0&&N[8]==0&&N[9]==0&&N[10]==0&&N[11]==0&&N[12]==0&&N[13]==0&&N[14]==0&&N[15]==0&&N[16]==0&&N[17]==0&&N[18]==0&&N[19]==0&&N[20]==0&&N[21]==0&&N[22]==0&&N[23]==0&&N[24]==0){PB();return;}
Does not work, for example...
Whereas
Code:
if(N==0&&oK==0&&oM==0&&oB==0&&oT==0&&kN==0&&kK==0&&kM==0&&kB==0&&kT==0&&mN==0&&mK==0&&mM==0&&mB==0&&mT==0&&bN==0&&bK==0&&bM==0&&bB==0&&bT==0&&tN==0&&tK==0&&tM==0&&tB==0&&tT==0){PB();return;}
activated the PB() function just fine.
I don't know if this is a bug or something that ZC is just not capable of doing.. It's essentially the exact same thing, except one is 25 checks to the same array, and the other is 25 separate integers.
It would help out my game development very much to be able to do this check with one array instead of 25 separate integers!
Thanks for all your years of work into this already!