How do you stack troops

I was wondering how to stack troops in python

you can use game_state.attempt_spawn(unit_type, location, n_units) or call n_units times game_state.attempt_spawn(unit_type, location)

1 Like

The most standard way to do this is with a simple for loop. Imagine each call to attempt_spawn as a ‘click’ in play-by-hand where you place one unit. Calling it multiple times on the same location will let you spawn more units there.