i wanted to edit the war battles tutorial but the sprite buffer was filled . So i made an error gui that was visible when the tanks was over 120. but then i wanted to make so i dont was able to make more than 120 tanks. but i just worked with this type of things in phyton and when i tried to make tanks i don’t was able to make any tank! not even one!
Here is my code:
...
elseif action_id == hash("enemy") then
if tanks > 121 then
factory.create("#enemycheat")
tanks = tanks + 1