Table of Contents
Strategy: TroopManager
The TroopManager strategy supports several modes of operation:
When the strategy has an action to do at a specific time it will schedule to run as accurately as possible and not add random wait times. However if many other strategies are ready they may run before and only approximate timing is possible Notes
Syntax<strategy class="TroopManager" desc="DESCRIPTION" minPauseMinutes="MINS" sleep="SLEEP" enabled="true" runWhile="RUNWHILE_UID" waitFor="WAITFOR_UID" uid="UID"> <release enabled="RELEASE" /> <dodge enabled="DODGE" x="XCOORD" y="YCOORD" recall="RSECS" wait="WSECS" /> <troops type="TROOP_NAME" allowLess="ALLOWLESS" min="MINIMUM_TROOPS" randomise="RANDOMISE" enabled="true">TROOP_AMOUNT</troops> <time type="START|ARRIVE" maxLateMinutes="LATE" movement="REINFORCE|RAID|ATTACK" coords="(XCOORD|YCOORD)" village="TARGETNAME" desc="DESCRIPTION" format="dd/MM/yyyy HH:mm:ss">TIME</time> </strategy> x="XCOORD" y="YCOORD" Attributes and parameters
Examples<strategy class="TroopManager" desc="TroopManager" minPauseMinutes="5" enabled="true" uid="1"> <release enabled="true" /> <dodge enabled="true" x="0" y="0" recall="20" wait="30" /> <troops type="Phalanx" allowLess="true" min="1" randomise="false" enabled="true">1000</troops> <time type="start" maxLateMinutes="5" movement="reinforce" coords="(0|0)" village="" desc="desc" format="dd/MM/yyyy HH:mm:ss">01/04/2010 20:30:00</time> <time type="arrive" movement="reinforce" coords="(0|0)" village="" desc="desc" format="dd/MM/yyyy HH:mm:ss">01/04/2010 21:25:00</time> </strategy> |
![]() |