<?xml version="1.0" encoding="utf-8"?>
<s1 title="GetTroops"><p>this function converts a troop string into a troop bean object. </p>
<p>troop bean objects are needed for use with other functions, such as <jump href="/wiki/city.getCarryingLoad" class="nonexistent">city.getCarryingLoad(troopBean)</jump> or <jump href="/wiki/city.getTravelTime" class="nonexistent">city.getTravelTime(fieldId1,fieldId2,troopBean,type)</jump> </p>
<p></p>
<s2 id="example:" title="example:">
<p>troops = &quot;a:99.5k,w:100,wo:100,p:100,sw:100,c:90,cata:10&quot; </p>
<p>troopBean = GetTroops(troops) </p>
<p></p>

<br/>------------------------------------------------------------------------------<br/>
<p> <jump href="/wiki/CategoryFunctions">CategoryFunctions</jump> </p>
</s2></s1>