• If you load four troops onto four transports, the game will fill up two transports with two troops each (nice, this is what one would expect to happen). Let’s say you also have four artillery, you start loading them. After two artillery, your transports can’t hold any more because two transports are full up with troops and the remaining two transports can only hold one artillery each.

    Solution is to simply load artillery/tanks first, then do the troops… 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.


  • @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.

Suggested Topics

  • 2
  • 1
  • 5
  • 3
  • 7
  • 3
  • 25
  • 10
Axis & Allies Boardgaming Custom Painted Miniatures

168

Online

17.3k

Users

39.8k

Topics

1.7m

Posts