[SOLVED] Help with binary deployment

I made this function to covert decimal to binary and a for-loop to spawn soldiers or archers for the paladins:

code deleted for those struggling on this level and wanting part of the solution

I think the decToBin(dec) function is somehow wrong because the paladins say so (see picture) AND anyways, I don’t even have enough time to finish summoning all the units. Anyone know the problem?
image

i wasted a lot of the discourse’s gigabytes on this topic and solved my own problem. :joy: I’m not gonna say the problem or post my code so others don’t cheat. In fact, imma delete all of it now.

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.