@0verki11 said in Troops/Artillery on Transports:
but it would be really slick to add an error handler. If a user tries to put too many artillery/tanks onto a stack of transports, see if there is an open spots on any of the transports and check if any transport has two troops. If so, then just move that troop over for the user and add the tank/artillery to the transport.
I like that you broke it down step by step. Procedure’s correct too. Good post.