this function converts a troop string into a troop bean object.
example:
troops = "a:99.5k,w:100,wo:100,p:100,sw:100,c:90,cata:10"
troopBean = GetTroops(troops)
troop bean objects are needed for use with other functions, such as getCarryingLoad() or getTravelTime()

![[+]](/moin_static/explorer/img/toggle1.png)

![[-]](/moin_static/explorer/img/toggle0.png)
